Movatterモバイル変換


[0]ホーム

URL:


Google Git
Sign in
chromium /chromium /src /refs/heads/main /. /google_apis /default_api_keys.h
blob: 5f9e8cc19bf84a7f1befc062cd47db85e6dbc44d [file] [log] [blame] [edit]
// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef GOOGLE_APIS_DEFAULT_API_KEYS_H_
#define GOOGLE_APIS_DEFAULT_API_KEYS_H_
#include"build/build_config.h"
namespace google_apis{
// A trivial struct bundling default API key values defined at compile time
// through preprocessor directives. Useful for injecting these values for
// testing.
structDefaultApiKeys{
// Used to indicate an unset key/id/secret. This works better with
// various unit tests than leaving the token empty.
staticconstexprchar kUnsetApiToken[]="dummytoken";
bool allow_unset_values;
bool allow_override_via_environment;
constchar* google_api_key;
constchar* google_metrics_signing_key;
#if BUILDFLAG(IS_ANDROID)
constchar* google_api_key_android_non_stable;
#else
constchar* google_api_key_hats;
#endif// BUILDFLAG(IS_ANDROID)
constchar* google_api_key_remoting;
constchar* google_api_key_soda;
#if BUILDFLAG(IS_CHROMEOS)
constchar* google_api_key_sharing;
constchar* google_api_key_read_aloud;
constchar* google_api_key_fresnel;
constchar* google_api_key_boca;
constchar* google_api_key_cros_system_geo_;
constchar* google_api_key_cros_chrome_geo_;
#endif
constchar* google_client_id_main;
constchar* google_client_secret_main;
constchar* google_client_id_remoting;
constchar* google_client_secret_remoting;
constchar* google_client_id_remoting_host;
constchar* google_client_secret_remoting_host;
constchar* google_default_client_id;
constchar* google_default_client_secret;
};
}// namespace google_apis
#endif// GOOGLE_APIS_DEFAULT_API_KEYS_H_

[8]ページ先頭

©2009-2025 Movatter.jp