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

Side by Side Diff: services/ui/public/cpp/context_provider.h

Issue 2420253002: Rename shell namespace to service_manager (Closed)
Patch Set: . Created 4 years, 2 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 | « services/ui/main.cc ('k') | services/ui/public/cpp/gpu_service.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 SERVICES_UI_PUBLIC_CPP_CONTEXT_PROVIDER_H_ 5 #ifndef SERVICES_UI_PUBLIC_CPP_CONTEXT_PROVIDER_H_
6 #define SERVICES_UI_PUBLIC_CPP_CONTEXT_PROVIDER_H_ 6 #define SERVICES_UI_PUBLIC_CPP_CONTEXT_PROVIDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <memory> 10 #include <memory>
11 11
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "cc/output/context_provider.h" 13 #include "cc/output/context_provider.h"
14 #include "mojo/public/cpp/system/core.h" 14 #include "mojo/public/cpp/system/core.h"
15 15
16 namespace gpu { 16 namespace gpu {
17 class GpuChannelHost; 17 class GpuChannelHost;
18 } 18 }
19 19
20 namespace shell { 20 namespace service_manager {
21 class Connector; 21 class Connector;
22 } 22 }
23 23
24 namespace ui { 24 namespace ui {
25 25
26 class GLES2Context; 26 class GLES2Context;
27 27
28 class ContextProvider : public cc::ContextProvider { 28 class ContextProvider : public cc::ContextProvider {
29 public: 29 public:
30 explicit ContextProvider(scoped_refptr<gpu::GpuChannelHost> gpu_channel_host); 30 explicit ContextProvider(scoped_refptr<gpu::GpuChannelHost> gpu_channel_host);
(...skipping 18 matching lines...) Expand all
49 std::unique_ptr<GLES2Context> context_; 49 std::unique_ptr<GLES2Context> context_;
50 std::unique_ptr<cc::ContextCacheController> cache_controller_; 50 std::unique_ptr<cc::ContextCacheController> cache_controller_;
51 scoped_refptr<gpu::GpuChannelHost> gpu_channel_host_; 51 scoped_refptr<gpu::GpuChannelHost> gpu_channel_host_;
52 52
53 DISALLOW_COPY_AND_ASSIGN(ContextProvider); 53 DISALLOW_COPY_AND_ASSIGN(ContextProvider);
54 }; 54 };
55 55
56 } // namespace ui 56 } // namespace ui
57 57
58 #endif // SERVICES_UI_PUBLIC_CPP_CONTEXT_PROVIDER_H_ 58 #endif // SERVICES_UI_PUBLIC_CPP_CONTEXT_PROVIDER_H_
OLDNEW
« no previous file with comments | « services/ui/main.cc ('k') | services/ui/public/cpp/gpu_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698