Searched defs:api_key (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/chrome/browser/safe_browsing/
H A Dprotocol_manager_helper.cc50 std::string api_key = google_apis::GetAPIKey(); local
51 if (!api_key.empty()) {
53 net::EscapeQueryParamValue(api_key, true).c_str());
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 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.cc1078 std::string api_key = google_apis::GetAPIKey(); local
1079 if (!api_key.empty())
1080 url = url.Resolve("?key=" + net::EscapeQueryParamValue(api_key, true));
/external/chromium_org/chrome/browser/extensions/api/copresence/
H A Dcopresence_api.h46 void set_api_key(const std::string& api_key) { api_key_ = api_key; } argument
/external/chromium_org/components/copresence/rpc/
H A Dhttp_post.cc29 std::string api_key,
41 if (api_key.empty()) {
44 api_key = google_apis::GetAPIKey();
49 url = net::AppendQueryParameter(url, kApiKeyField, api_key);
25 HttpPost(net::URLRequestContextGetter* url_context_getter, const std::string& server_host, const std::string& rpc_name, const std::string& tracing_token, std::string api_key, const google::protobuf::MessageLite& request_proto) argument
/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/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/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...]
/external/chromium_org/chrome/renderer/net/
H A Dnet_error_helper_core.h111 std::string api_key; member in struct:NetErrorHelperCore::NavigationCorrectionParams
157 const std::string& api_key,
H A Dnet_error_helper.cc328 const std::string& api_key,
331 country_code, api_key, search_url);
324 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.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
/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/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/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);

Completed in 315 milliseconds