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() {} |
}; |