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

Side by Side Diff: chrome/renderer/chrome_content_renderer_client.h

Issue 2568793003: Control TaskScheduler initialization params in renderers via field trial. (Closed)
Patch Set: fix ios build error 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 unified diff | Download patch
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 5 #ifndef CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 6 #define CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
175 void DidInitializeServiceWorkerContextOnWorkerThread( 175 void DidInitializeServiceWorkerContextOnWorkerThread(
176 v8::Local<v8::Context> context, 176 v8::Local<v8::Context> context,
177 int64_t service_worker_version_id, 177 int64_t service_worker_version_id,
178 const GURL& url) override; 178 const GURL& url) override;
179 void WillDestroyServiceWorkerContextOnWorkerThread( 179 void WillDestroyServiceWorkerContextOnWorkerThread(
180 v8::Local<v8::Context> context, 180 v8::Local<v8::Context> context,
181 int64_t service_worker_version_id, 181 int64_t service_worker_version_id,
182 const GURL& url) override; 182 const GURL& url) override;
183 bool ShouldEnforceWebRTCRoutingPreferences() override; 183 bool ShouldEnforceWebRTCRoutingPreferences() override;
184 GURL OverrideFlashEmbedWithHTML(const GURL& url) override; 184 GURL OverrideFlashEmbedWithHTML(const GURL& url) override;
185 void GetTaskSchedulerInitializationParams(
186 std::vector<base::SchedulerWorkerPoolParams>* params_vector,
187 base::TaskScheduler::WorkerPoolIndexForTraitsCallback*
188 index_to_traits_callback) override;
185 189
186 #if BUILDFLAG(ENABLE_SPELLCHECK) 190 #if BUILDFLAG(ENABLE_SPELLCHECK)
187 // Sets a new |spellcheck|. Used for testing only. 191 // Sets a new |spellcheck|. Used for testing only.
188 // Takes ownership of |spellcheck|. 192 // Takes ownership of |spellcheck|.
189 void SetSpellcheck(SpellCheck* spellcheck); 193 void SetSpellcheck(SpellCheck* spellcheck);
190 #endif 194 #endif
191 195
192 #if BUILDFLAG(ENABLE_PLUGINS) 196 #if BUILDFLAG(ENABLE_PLUGINS)
193 static blink::WebPlugin* CreatePlugin( 197 static blink::WebPlugin* CreatePlugin(
194 content::RenderFrame* render_frame, 198 content::RenderFrame* render_frame,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 #endif 255 #endif
252 256
253 #if defined(OS_CHROMEOS) 257 #if defined(OS_CHROMEOS)
254 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_; 258 std::unique_ptr<LeakDetectorRemoteClient> leak_detector_remote_client_;
255 #endif 259 #endif
256 260
257 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient); 261 DISALLOW_COPY_AND_ASSIGN(ChromeContentRendererClient);
258 }; 262 };
259 263
260 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_ 264 #endif // CHROME_RENDERER_CHROME_CONTENT_RENDERER_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/renderer/DEPS ('k') | chrome/renderer/chrome_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698