Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / google_apis / google_api_keys.cc
index f879979..640b2ad 100644 (file)
@@ -180,6 +180,14 @@ class APIKeyCache {
     return client_secrets_[client];
   }
 
+  std::string GetSpdyProxyAuthValue() {
+#if defined(SPDY_PROXY_AUTH_VALUE)
+    return SPDY_PROXY_AUTH_VALUE;
+#else
+    return std::string();
+#endif
+  }
+
  private:
   // Gets a value for a key.  In priority order, this will be the value
   // provided via a command-line switch, the value provided via an
@@ -260,6 +268,10 @@ std::string GetOAuth2ClientSecret(OAuth2Client client) {
   return g_api_key_cache.Get().GetClientSecret(client);
 }
 
+std::string GetSpdyProxyAuthValue() {
+  return g_api_key_cache.Get().GetSpdyProxyAuthValue();
+}
+
 bool IsGoogleChromeAPIKeyUsed() {
 #if defined(GOOGLE_CHROME_BUILD) || defined(USE_OFFICIAL_GOOGLE_API_KEYS)
   return true;