Home
last modified time | relevance | path

Searched refs:brand_code (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium_org/chrome/installer/gcapi/
Dgcapi_omaha_experiment.cc29 bool SetExperimentLabel(const wchar_t* brand_code, in SetExperimentLabel() argument
32 if (!brand_code) { in SetExperimentLabel()
60 gcapi_internals::GetGCAPIExperimentLabel(brand_code, label)); in SetExperimentLabel()
73 base::string16 GetGCAPIExperimentLabel(const wchar_t* brand_code, in GetGCAPIExperimentLabel() argument
88 brand_code, in GetGCAPIExperimentLabel()
97 bool SetReactivationExperimentLabels(const wchar_t* brand_code, in SetReactivationExperimentLabels() argument
99 return SetExperimentLabel(brand_code, gcapi_internals::kReactivationLabel, in SetReactivationExperimentLabels()
103 bool SetRelaunchExperimentLabels(const wchar_t* brand_code, int shell_mode) { in SetRelaunchExperimentLabels() argument
104 return SetExperimentLabel(brand_code, gcapi_internals::kRelaunchLabel, in SetRelaunchExperimentLabels()
Dgcapi_omaha_experiment.h17 base::string16 GetGCAPIExperimentLabel(const wchar_t* brand_code,
28 bool SetReactivationExperimentLabels(const wchar_t* brand_code, int shell_mode);
36 bool SetRelaunchExperimentLabels(const wchar_t* brand_code, int shell_mode);
Dgcapi_reactivation.cc36 bool SetReactivationBrandCode(const std::wstring& brand_code, int shell_mode) { in SetReactivationBrandCode() argument
53 brand_code.c_str()) == ERROR_SUCCESS; in SetReactivationBrandCode()
64 reactivation_key.WriteValue(brand_code.c_str(), in SetReactivationBrandCode()
Dgcapi.h106 BOOL __stdcall CanOfferReactivation(const wchar_t* brand_code,
116 BOOL __stdcall ReactivateChrome(const wchar_t* brand_code,
Dgcapi.cc635 BOOL __stdcall CanOfferReactivation(const wchar_t* brand_code, in CanOfferReactivation() argument
640 if (!brand_code) { in CanOfferReactivation()
676 BOOL __stdcall ReactivateChrome(const wchar_t* brand_code, in ReactivateChrome() argument
680 if (CanOfferReactivation(brand_code, in ReactivateChrome()
683 if (SetReactivationBrandCode(brand_code, shell_mode)) { in ReactivateChrome()
686 SetReactivationExperimentLabels(brand_code, shell_mode); in ReactivateChrome()
Dgcapi_reactivation.h13 bool SetReactivationBrandCode(const std::wstring& brand_code, int shell_mode);
/external/chromium_org/chrome/browser/
Dauto_launch_trial.cc26 bool IsInExperimentGroup(const std::string& brand_code) { in IsInExperimentGroup() argument
27 return LowerCaseEqualsASCII(brand_code, "rngp"); in IsInExperimentGroup()
30 bool IsInControlGroup(const std::string& brand_code) { in IsInControlGroup() argument
31 return LowerCaseEqualsASCII(brand_code, "rngq"); in IsInControlGroup()
Dauto_launch_trial.h42 bool IsInExperimentGroup(const std::string& brand_code);
45 bool IsInControlGroup(const std::string& brand_code);
/external/chromium_org/chrome/installer/gcapi_mac/
Dgcapi_example_client.mm38 std::string brand_code;
56 brand_code = optarg;
82 brand_code.empty() ? NULL : brand_code.c_str(),
Dgcapi.mm268 NSString* WriteBrandCode(const char* brand_code, const passwd* user) {
270 kBrandKey: [NSString stringWithUTF8String:brand_code],
347 const char* brand_code,
422 brand_code = [info_plist_brand UTF8String];
424 BOOL valid_brand_code = brand_code && strlen(brand_code) == 4 &&
425 isbrandchar(brand_code[0]) && isbrandchar(brand_code[1]) &&
426 isbrandchar(brand_code[2]) && isbrandchar(brand_code[3]);
430 brand_path = WriteBrandCode(brand_code, user);
Dgcapi.h40 const char* brand_code,
/external/chromium_org/components/metrics/
Dtest_metrics_service_client.cc35 bool TestMetricsServiceClient::GetBrand(std::string* brand_code) { in GetBrand() argument
36 *brand_code = kBrandForTesting; in GetBrand()
Dmetrics_service_client.h38 virtual bool GetBrand(std::string* brand_code) = 0;
Dtest_metrics_service_client.h27 virtual bool GetBrand(std::string* brand_code) OVERRIDE;
Dmetrics_log.cc337 std::string brand_code; in RecordEnvironment() local
338 if (client_->GetBrand(&brand_code)) in RecordEnvironment()
339 system_profile->set_brand_code(brand_code); in RecordEnvironment()
Dmetrics_log_unittest.cc124 system_profile.brand_code()); in CheckSystemProfile()
/external/chromium_org/extensions/browser/updater/
Dmanifest_fetch_data.cc28 const std::string& brand_code, in ManifestFetchData() argument
33 brand_code_(brand_code), in ManifestFetchData()
Dmanifest_fetch_data.h63 const std::string& brand_code,
/external/chromium_org/chrome/browser/extensions/updater/
Dextension_downloader.h103 void set_brand_code(const std::string& brand_code) { in set_brand_code() argument
104 brand_code_ = brand_code; in set_brand_code()
/external/chromium_org/chromecast/metrics/
Dcast_metrics_service_client.h46 virtual bool GetBrand(std::string* brand_code) OVERRIDE;
Dcast_metrics_service_client.cc61 bool CastMetricsServiceClient::GetBrand(std::string* brand_code) { in GetBrand() argument
/external/chromium_org/chrome/browser/metrics/
Dchrome_metrics_service_client.h62 virtual bool GetBrand(std::string* brand_code) OVERRIDE;
Dchrome_metrics_service_client.cc186 bool ChromeMetricsServiceClient::GetBrand(std::string* brand_code) { in GetBrand() argument
187 return google_brand::GetBrand(brand_code); in GetBrand()
/external/chromium_org/chrome/browser/mac/
Dkeystone_glue.mm1065 NSString* brand_code =
1067 if (brand_code)
1068 return [brand_code UTF8String];
/external/chromium_org/components/metrics/proto/
Dsystem_profile.proto46 optional string brand_code = 12; field

12