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

Side by Side Diff: chrome/gpu/chrome_content_gpu_client.h

Issue 2079943002: Change RenderFrame to use InterfaceRegistry et al. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a2
Patch Set: . Created 4 years, 6 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/gpu/DEPS ('k') | chrome/gpu/chrome_content_gpu_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_GPU_CHROME_CONTENT_GPU_CLIENT_H_ 5 #ifndef CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_
6 #define CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_ 6 #define CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "chrome/common/variations/child_process_field_trial_syncer.h" 11 #include "chrome/common/variations/child_process_field_trial_syncer.h"
12 #include "content/public/gpu/content_gpu_client.h" 12 #include "content/public/gpu/content_gpu_client.h"
13 13
14 class ChromeContentGpuClient : public content::ContentGpuClient { 14 class ChromeContentGpuClient : public content::ContentGpuClient {
15 public: 15 public:
16 ChromeContentGpuClient(); 16 ChromeContentGpuClient();
17 ~ChromeContentGpuClient() override; 17 ~ChromeContentGpuClient() override;
18 18
19 // content::ContentGpuClient: 19 // content::ContentGpuClient:
20 void Initialize(base::FieldTrialList::Observer* observer) override; 20 void Initialize(base::FieldTrialList::Observer* observer) override;
21 void RegisterMojoServices(content::ServiceRegistry* registry) override; 21 void RegisterMojoInterfaces(shell::InterfaceRegistry* registry) override;
22 22
23 private: 23 private:
24 std::unique_ptr<chrome_variations::ChildProcessFieldTrialSyncer> 24 std::unique_ptr<chrome_variations::ChildProcessFieldTrialSyncer>
25 field_trial_syncer_; 25 field_trial_syncer_;
26 26
27 DISALLOW_COPY_AND_ASSIGN(ChromeContentGpuClient); 27 DISALLOW_COPY_AND_ASSIGN(ChromeContentGpuClient);
28 }; 28 };
29 29
30 #endif // CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_ 30 #endif // CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/gpu/DEPS ('k') | chrome/gpu/chrome_content_gpu_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698