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

Unified Diff: chrome/renderer/chrome_render_thread_observer.h

Issue 2732213004: Move FieldTrialRecorder mojom to content (Closed)
Patch Set: initialize FieldTrialList for RenderThreadImplBrowserTest Created 3 years, 9 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 | « chrome/common/field_trial_recorder.mojom ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 b4afb70268d06f24c91b28f542a7f97451fd5621..a16e1c040765e9385706a6a5bd33e6a14d7577f6 100644
--- a/chrome/renderer/chrome_render_thread_observer.h
+++ b/chrome/renderer/chrome_render_thread_observer.h
@@ -11,10 +11,8 @@
#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/weak_ptr.h"
-#include "base/metrics/field_trial.h"
#include "chrome/common/renderer_configuration.mojom.h"
#include "components/content_settings/core/common/content_settings.h"
-#include "components/variations/child_process_field_trial_syncer.h"
#include "content/public/renderer/render_thread_observer.h"
#include "mojo/public/cpp/bindings/associated_binding_set.h"
@@ -31,7 +29,6 @@ class VisitedLinkSlave;
// happen. If a few messages are related, they should probably have their own
// observer.
class ChromeRenderThreadObserver : public content::RenderThreadObserver,
- public base::FieldTrialList::Observer,
public chrome::mojom::RendererConfiguration {
public:
ChromeRenderThreadObserver();
@@ -55,10 +52,6 @@ class ChromeRenderThreadObserver : public content::RenderThreadObserver,
content::AssociatedInterfaceRegistry* associated_interfaces) override;
void OnRenderProcessShutdown() override;
- // base::FieldTrialList::Observer:
- void OnFieldTrialGroupFinalized(const std::string& trial_name,
- const std::string& group_name) override;
-
// chrome::mojom::RendererConfiguration:
void SetInitialConfiguration(bool is_incognito_process) override;
void SetContentSettingRules(
@@ -72,7 +65,6 @@ class ChromeRenderThreadObserver : public content::RenderThreadObserver,
static bool is_incognito_process_;
std::unique_ptr<content::ResourceDispatcherDelegate> resource_delegate_;
RendererContentSettingRules content_setting_rules_;
- variations::ChildProcessFieldTrialSyncer field_trial_syncer_;
std::unique_ptr<visitedlink::VisitedLinkSlave> visited_link_slave_;
« no previous file with comments | « chrome/common/field_trial_recorder.mojom ('k') | chrome/renderer/chrome_render_thread_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698