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

Side by Side Diff: content/browser/gpu/browser_gpu_channel_host_factory.h

Issue 1825183002: gpu_process_launch_causes => content/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 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_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 5 #ifndef CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 6 #define CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <map> 11 #include <map>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/ref_counted.h" 15 #include "base/memory/ref_counted.h"
16 #include "base/memory/scoped_ptr.h" 16 #include "base/memory/scoped_ptr.h"
17 #include "build/build_config.h" 17 #include "build/build_config.h"
18 #include "content/common/gpu/client/gpu_channel_host.h" 18 #include "content/common/gpu/client/gpu_channel_host.h"
19 #include "content/common/gpu_process_launch_causes.h"
19 #include "ipc/message_filter.h" 20 #include "ipc/message_filter.h"
20 21
21 namespace content { 22 namespace content {
22 class BrowserGpuMemoryBufferManager; 23 class BrowserGpuMemoryBufferManager;
23 24
24 class CONTENT_EXPORT BrowserGpuChannelHostFactory 25 class CONTENT_EXPORT BrowserGpuChannelHostFactory
25 : public GpuChannelHostFactory { 26 : public GpuChannelHostFactory {
26 public: 27 public:
27 static void Initialize(bool establish_gpu_channel); 28 static void Initialize(bool establish_gpu_channel);
28 static void Terminate(); 29 static void Terminate();
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 std::vector<base::Closure> established_callbacks_; 71 std::vector<base::Closure> established_callbacks_;
71 72
72 static BrowserGpuChannelHostFactory* instance_; 73 static BrowserGpuChannelHostFactory* instance_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(BrowserGpuChannelHostFactory); 75 DISALLOW_COPY_AND_ASSIGN(BrowserGpuChannelHostFactory);
75 }; 76 };
76 77
77 } // namespace content 78 } // namespace content
78 79
79 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_ 80 #endif // CONTENT_BROWSER_GPU_BROWSER_GPU_CHANNEL_HOST_FACTORY_H_
OLDNEW
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | content/browser/gpu/gpu_ipc_browsertests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698