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

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

Issue 2171473003: Remove content::GpuVideoDecodeAcceleratorFactory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gpu_init_order
Patch Set: rebase Created 4 years, 5 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/arc_gpu_video_decode_accelerator.cc ('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 ExposeInterfacesToBrowser(shell::InterfaceRegistry* registry) override; 21 void ExposeInterfacesToBrowser(
22 shell::InterfaceRegistry* registry,
23 const gpu::GpuPreferences& gpu_preferences) override;
22 24
23 private: 25 private:
24 std::unique_ptr<chrome_variations::ChildProcessFieldTrialSyncer> 26 std::unique_ptr<chrome_variations::ChildProcessFieldTrialSyncer>
25 field_trial_syncer_; 27 field_trial_syncer_;
26 28
27 DISALLOW_COPY_AND_ASSIGN(ChromeContentGpuClient); 29 DISALLOW_COPY_AND_ASSIGN(ChromeContentGpuClient);
28 }; 30 };
29 31
30 #endif // CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_ 32 #endif // CHROME_GPU_CHROME_CONTENT_GPU_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/gpu/arc_gpu_video_decode_accelerator.cc ('k') | chrome/gpu/chrome_content_gpu_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698