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

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: 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
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..e2838768dbc2214d6036175a5831148cbee3d6eb 100644
--- a/components/variations/service/variations_service_client.h
+++ b/components/variations/service/variations_service_client.h
@@ -51,6 +51,10 @@ class VariationsServiceClient {
// Gets the channel of the embedder.
virtual version_info::Channel GetChannel() = 0;
+ // Returns the resource index corresponding to the given hash, or -1 if there
+ // is no corresponding resource.
+ virtual int GetIndexForResource(uint32_t hash) = 0;
+
// Called from VariationsService::PerformPreMainMessageLoopStartup().
virtual void OnInitialStartup() {}
};

Powered by Google App Engine
This is Rietveld 408576698