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

Side by Side Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2514923002: content: Use mus client-lib's gpu-service from renderers. (Closed)
Patch Set: . Created 4 years 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 #include "content/renderer/renderer_blink_platform_impl.h" 5 #include "content/renderer/renderer_blink_platform_impl.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/guid.h" 12 #include "base/guid.h"
13 #include "base/lazy_instance.h" 13 #include "base/lazy_instance.h"
14 #include "base/location.h" 14 #include "base/location.h"
15 #include "base/logging.h" 15 #include "base/logging.h"
16 #include "base/memory/ptr_util.h" 16 #include "base/memory/ptr_util.h"
17 #include "base/memory/shared_memory.h" 17 #include "base/memory/shared_memory.h"
18 #include "base/metrics/histogram_macros.h" 18 #include "base/metrics/histogram_macros.h"
19 #include "base/numerics/safe_conversions.h" 19 #include "base/numerics/safe_conversions.h"
20 #include "base/single_thread_task_runner.h" 20 #include "base/single_thread_task_runner.h"
21 #include "base/strings/string_number_conversions.h" 21 #include "base/strings/string_number_conversions.h"
22 #include "base/strings/utf_string_conversions.h" 22 #include "base/strings/utf_string_conversions.h"
23 #include "base/threading/thread_task_runner_handle.h" 23 #include "base/threading/thread_task_runner_handle.h"
24 #include "build/build_config.h" 24 #include "build/build_config.h"
25 #include "components/url_formatter/url_formatter.h" 25 #include "components/url_formatter/url_formatter.h"
26 #include "content/child/blob_storage/webblobregistry_impl.h" 26 #include "content/child/blob_storage/webblobregistry_impl.h"
27 #include "content/child/child_gpu_memory_buffer_manager.h"
28 #include "content/child/child_shared_bitmap_manager.h" 27 #include "content/child/child_shared_bitmap_manager.h"
29 #include "content/child/database_util.h" 28 #include "content/child/database_util.h"
30 #include "content/child/file_info_util.h" 29 #include "content/child/file_info_util.h"
31 #include "content/child/fileapi/webfilesystem_impl.h" 30 #include "content/child/fileapi/webfilesystem_impl.h"
32 #include "content/child/indexed_db/webidbfactory_impl.h" 31 #include "content/child/indexed_db/webidbfactory_impl.h"
33 #include "content/child/quota_dispatcher.h" 32 #include "content/child/quota_dispatcher.h"
34 #include "content/child/quota_message_filter.h" 33 #include "content/child/quota_message_filter.h"
35 #include "content/child/storage_util.h" 34 #include "content/child/storage_util.h"
36 #include "content/child/thread_safe_sender.h" 35 #include "content/child/thread_safe_sender.h"
37 #include "content/child/web_database_observer_impl.h" 36 #include "content/child/web_database_observer_impl.h"
(...skipping 1262 matching lines...) Expand 10 before | Expand all | Expand 10 after
1300 return &trial_token_validator_; 1299 return &trial_token_validator_;
1301 } 1300 }
1302 1301
1303 void RendererBlinkPlatformImpl::workerContextCreated( 1302 void RendererBlinkPlatformImpl::workerContextCreated(
1304 const v8::Local<v8::Context>& worker) { 1303 const v8::Local<v8::Context>& worker) {
1305 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread( 1304 GetContentClient()->renderer()->DidInitializeWorkerContextOnWorkerThread(
1306 worker); 1305 worker);
1307 } 1306 }
1308 1307
1309 } // namespace content 1308 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl_discardable_memory_browsertest.cc ('k') | services/ui/public/cpp/gpu/gpu.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698