Searched refs:api_key (Results 1 - 20 of 20) sorted by path

/external/chromium_org/chrome/browser/chromeos/geolocation/
H A Dsimple_geolocation_request.cc126 std::string api_key = google_apis::GetAPIKey();
127 if (api_key.empty())
133 query += "key=" + net::EscapeQueryParamValue(api_key, true);
/external/chromium_org/chrome/browser/chromeos/timezone/
H A Dtimezone_request.cc127 std::string api_key = google_apis::GetAPIKey(); local
128 if (!api_key.empty()) {
132 query += net::EscapeQueryParamValue(api_key, true);
/external/chromium_org/chrome/browser/extensions/
H A Dblacklist_state_fetcher.cc170 std::string api_key = google_apis::GetAPIKey(); local
171 if (!api_key.empty()) {
173 net::EscapeQueryParamValue(api_key, true).c_str());
/external/chromium_org/chrome/browser/safe_browsing/
H A Dclient_side_detection_service.cc638 std::string api_key = google_apis::GetAPIKey(); local
639 if (!api_key.empty())
640 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true));
H A Ddownload_protection_service.cc1051 std::string api_key = google_apis::GetAPIKey(); local
1052 if (!api_key.empty())
1053 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true));
H A Dincident_report_uploader_impl.cc65 std::string api_key(google_apis::GetAPIKey());
66 if (api_key.empty())
68 return url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true));
H A Dping_manager.cc143 std::string api_key = google_apis::GetAPIKey(); local
144 if (!api_key.empty()) {
146 net::EscapeQueryParamValue(api_key, true).c_str());
H A Dprotocol_manager_helper.cc46 std::string api_key = google_apis::GetAPIKey(); local
47 if (!api_key.empty()) {
49 net::EscapeQueryParamValue(api_key, true).c_str());
/external/chromium_org/chrome/browser/spellchecker/
H A Dspelling_service_client.cc83 std::string api_key = base::GetQuotedJSONString(google_apis::GetAPIKey()); local
90 api_key.c_str());
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/gdocs/
H A Dchrome_ex_oauthsimple.js45 * api_key is the API key, also known as the OAuth consumer key
48 * Both the api_key and shared_secret are generally provided by the site
64 api_key:'12345abcd',
78 * @param api_key {string} The API Key (sometimes referred to as the consumer key) This value is usually supplied by the site you wish to use.
83 /* if (api_key == undefined)
84 throw("Missing argument: api_key (oauth_consumer_key) for OAuthSimple. This is usually provided by the hosting site.");
185 * @param signatures {object} object/hash of the token/signature pairs {api_key:, shared_secret:, oauth_token: oauth_secret:}
195 if (this._secrets['api_key']) {
196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/oauth_contacts/
H A Dchrome_ex_oauthsimple.js45 * api_key is the API key, also known as the OAuth consumer key
48 * Both the api_key and shared_secret are generally provided by the site
64 api_key:'12345abcd',
78 * @param api_key {string} The API Key (sometimes referred to as the consumer key) This value is usually supplied by the site you wish to use.
83 /* if (api_key == undefined)
84 throw("Missing argument: api_key (oauth_consumer_key) for OAuthSimple. This is usually provided by the hosting site.");
185 * @param signatures {object} object/hash of the token/signature pairs {api_key:, shared_secret:, oauth_token: oauth_secret:}
195 if (this._secrets['api_key']) {
196 this._secrets.consumer_key = this._secrets.api_key;
/external/chromium_org/chrome/renderer/net/
H A Dnet_error_helper.cc320 const std::string& api_key,
323 country_code, api_key, search_url);
316 OnSetNavigationCorrectionInfo( const GURL& navigation_correction_url, const std::string& language, const std::string& country_code, const std::string& api_key, const GURL& search_url) argument
H A Dnet_error_helper.h110 const std::string& api_key,
H A Dnet_error_helper_core.cc182 params_dict->SetString("key", correction_params.api_key);
642 const std::string& api_key,
647 navigation_correction_params_.api_key = api_key;
638 OnSetNavigationCorrectionInfo( const GURL& navigation_correction_url, const std::string& language, const std::string& country_code, const std::string& api_key, const GURL& search_url) argument
H A Dnet_error_helper_core.h111 std::string api_key; member in struct:NetErrorHelperCore::NavigationCorrectionParams
157 const std::string& api_key,
/external/chromium_org/components/cloud_devices/tools/prototype/
H A Dprototype.py442 'api_key': ''
456 self.api_key = credentials['api_key']
465 self.gcd = build_from_document(discovery, developerKey=self.api_key,
/external/chromium_org/content/browser/geolocation/
H A Dnetwork_location_request.cc194 std::string api_key = google_apis::GetAPIKey(); local
195 if (!api_key.empty()) {
199 query += "key=" + net::EscapeQueryParamValue(api_key, true);
/external/chromium_org/content/browser/speech/
H A Dgoogle_one_shot_remote_engine.cc204 std::string api_key = google_apis::GetAPIKey(); local
205 parts.push_back("key=" + net::EscapeQueryParamValue(api_key, true));
/external/chromium_org/google_apis/
H A Dgoogle_api_keys.cc171 std::string api_key() const { return api_key_; } function in class:google_apis::APIKeyCache
252 return g_api_key_cache.Get().api_key();
H A Dgoogle_api_keys_unittest.cc127 #define GOOGLE_API_KEY "bogus api_key"
142 std::string api_key = testcase::g_api_key_cache.Get().api_key(); local
164 EXPECT_NE(0u, api_key.size());
165 EXPECT_NE(DUMMY_API_TOKEN, api_key);
166 EXPECT_NE("bogus api_key", api_key);
167 EXPECT_NE(kDummyToken, api_key);
239 std::string api_key = testcase::g_api_key_cache.Get().api_key(); local
305 std::string api_key = testcase::g_api_key_cache.Get().api_key(); local
378 std::string api_key = testcase::g_api_key_cache.Get().api_key(); local
465 std::string api_key = testcase::g_api_key_cache.Get().api_key(); local
[all...]

Completed in 751 milliseconds