Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(794)

Unified Diff: components/variations/service/variations_service_client.h

Issue 1309843005: Remove more //chrome dependencies from VariationsService (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@variations_service_get_channel
Patch Set: Response to review Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/variations/BUILD.gn ('k') | components/variations/variations_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/variations/service/variations_service_client.h
diff --git a/components/variations/service/variations_service_client.h b/components/variations/service/variations_service_client.h
index 8aa6371814960b1215f0ba6cea350123af92061c..2f9d141bd1e645f07f763cb53b1b3ab01ef5e73c 100644
--- a/components/variations/service/variations_service_client.h
+++ b/components/variations/service/variations_service_client.h
@@ -8,6 +8,7 @@
#include <string>
#include "base/callback.h"
+#include "base/strings/string16.h"
#include "base/version.h"
#include "components/version_info/version_info.h"
@@ -51,6 +52,11 @@ class VariationsServiceClient {
// Gets the channel of the embedder.
virtual version_info::Channel GetChannel() = 0;
+ // Allows the embedder to override the string resource specified by |hash|
+ // with |string| in the resource bundle if desired.
+ virtual void OverrideUIString(uint32_t hash,
+ const base::string16& string) = 0;
+
// Called from VariationsService::PerformPreMainMessageLoopStartup().
virtual void OnInitialStartup() {}
};
« no previous file with comments | « components/variations/BUILD.gn ('k') | components/variations/variations_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698