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

Side by Side Diff: content/public/renderer/render_thread.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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 // Gets the shutdown event for the process. 104 // Gets the shutdown event for the process.
105 virtual base::WaitableEvent* GetShutdownEvent() = 0; 105 virtual base::WaitableEvent* GetShutdownEvent() = 0;
106 106
107 // Retrieve the process ID of the browser process. 107 // Retrieve the process ID of the browser process.
108 virtual int32_t GetClientId() = 0; 108 virtual int32_t GetClientId() = 0;
109 109
110 // Handles for posting tasks to appropriate renderer scheduler task queues. 110 // Handles for posting tasks to appropriate renderer scheduler task queues.
111 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() = 0; 111 virtual scoped_refptr<base::SingleThreadTaskRunner> GetTimerTaskRunner() = 0;
112 virtual scoped_refptr<base::SingleThreadTaskRunner> 112 virtual scoped_refptr<base::SingleThreadTaskRunner>
113 GetLoadingTaskRunner() = 0; 113 GetLoadingTaskRunner() = 0;
114
115 // Tells the renderer that a field trial was activated.
116 virtual void SetFieldTrialGroup(const std::string& trial_name,
117 const std::string& group_name) = 0;
114 }; 118 };
115 119
116 } // namespace content 120 } // namespace content
117 121
118 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 122 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
OLDNEW
« no previous file with comments | « content/public/app/mojo/content_browser_manifest.json ('k') | content/public/test/mock_render_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698