root/components/translate/core/browser/translate_url_util.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


// Copyright 2013 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.

#ifndef COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_
#define COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_

#include "url/gurl.h"

namespace TranslateURLUtil {

// Appends Translate API Key as a part of query to a passed |url|, and returns
// GURL instance.
GURL AddApiKeyToUrl(const GURL& url);

// Appends host locale parameter as a part of query to a passed |url|, and
// returns GURL instance.
GURL AddHostLocaleToUrl(const GURL& url);

}  // namespace TranslateURLUtil

#endif  // COMPONENTS_TRANSLATE_CORE_BROWSER_TRANSLATE_URL_UTIL_H_

/* [<][>][^][v][top][bottom][index][help] */