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

Unified Diff: chrome/renderer/chrome_render_thread_observer.h

Issue 2642263002: Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. (Closed)
Patch Set: Convert ChromeViewMsg_SetFieldTrialGroup to use mojo. Created 3 years, 11 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: chrome/renderer/chrome_render_thread_observer.h
diff --git a/chrome/renderer/chrome_render_thread_observer.h b/chrome/renderer/chrome_render_thread_observer.h
index bbc85bd6f133bbf73767dc1c55bfac66f4d5e238..b4afb70268d06f24c91b28f542a7f97451fd5621 100644
--- a/chrome/renderer/chrome_render_thread_observer.h
+++ b/chrome/renderer/chrome_render_thread_observer.h
@@ -53,7 +53,6 @@ class ChromeRenderThreadObserver : public content::RenderThreadObserver,
content::AssociatedInterfaceRegistry* associated_interfaces) override;
void UnregisterMojoInterfaces(
content::AssociatedInterfaceRegistry* associated_interfaces) override;
- bool OnControlMessageReceived(const IPC::Message& message) override;
void OnRenderProcessShutdown() override;
// base::FieldTrialList::Observer:
@@ -64,13 +63,12 @@ class ChromeRenderThreadObserver : public content::RenderThreadObserver,
void SetInitialConfiguration(bool is_incognito_process) override;
void SetContentSettingRules(
const RendererContentSettingRules& rules) override;
+ void SetFieldTrialGroup(const std::string& trial_name,
+ const std::string& group_name) override;
void OnRendererConfigurationAssociatedRequest(
chrome::mojom::RendererConfigurationAssociatedRequest request);
- void OnSetFieldTrialGroup(const std::string& trial_name,
- const std::string& group_name);
-
static bool is_incognito_process_;
std::unique_ptr<content::ResourceDispatcherDelegate> resource_delegate_;
RendererContentSettingRules content_setting_rules_;

Powered by Google App Engine
This is Rietveld 408576698