// Copyright (c) 2011 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // // Some Google related utility functions. #ifndef CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_H__ #define CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_H__ #pragma once #include <string> class GURL; namespace google_util { extern const char kLinkDoctorBaseURL[]; // Adds the Google locale string to the URL (e.g., hl=en-US). This does not // check to see if the param already exists. GURL AppendGoogleLocaleParam(const GURL& url); // String version of AppendGoogleLocaleParam. std::string StringAppendGoogleLocaleParam(const std::string& url); // Adds the Google TLD string to the URL (e.g., sd=com). This does not // check to see if the param already exists. GURL AppendGoogleTLDParam(const GURL& url); } // namespace google_util #endif // CHROME_BROWSER_GOOGLE_GOOGLE_UTIL_H__