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

Side by Side Diff: chrome/browser/gpu/gpu_feature_checker.h

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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/browser/gpu/gl_string_manager.cc ('k') | chrome/browser/gpu/gpu_feature_checker.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 (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 CHROME_BROWSER_GPU_GPU_FEATURE_CHECKER_H_ 5 #ifndef CHROME_BROWSER_GPU_GPU_FEATURE_CHECKER_H_
6 #define CHROME_BROWSER_GPU_GPU_FEATURE_CHECKER_H_ 6 #define CHROME_BROWSER_GPU_GPU_FEATURE_CHECKER_H_
7 7
8 #include "base/callback.h" 8 #include "base/callback.h"
9 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/gpu_data_manager_observer.h" 11 #include "content/public/browser/gpu_data_manager_observer.h"
11 #include "gpu/config/gpu_feature_type.h" 12 #include "gpu/config/gpu_feature_type.h"
12 13
13 namespace content { 14 namespace content {
14 class GpuDataManager; 15 class GpuDataManager;
15 } // namespace content 16 } // namespace content
16 17
17 class GPUFeatureChecker : public base::RefCountedThreadSafe<GPUFeatureChecker>, 18 class GPUFeatureChecker : public base::RefCountedThreadSafe<GPUFeatureChecker>,
18 public content::GpuDataManagerObserver { 19 public content::GpuDataManagerObserver {
(...skipping 16 matching lines...) Expand all
35 36
36 ~GPUFeatureChecker() override; 37 ~GPUFeatureChecker() override;
37 38
38 gpu::GpuFeatureType feature_; 39 gpu::GpuFeatureType feature_;
39 FeatureAvailableCallback callback_; 40 FeatureAvailableCallback callback_;
40 41
41 DISALLOW_COPY_AND_ASSIGN(GPUFeatureChecker); 42 DISALLOW_COPY_AND_ASSIGN(GPUFeatureChecker);
42 }; 43 };
43 44
44 #endif // CHROME_BROWSER_GPU_GPU_FEATURE_CHECKER_H_ 45 #endif // CHROME_BROWSER_GPU_GPU_FEATURE_CHECKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/gpu/gl_string_manager.cc ('k') | chrome/browser/gpu/gpu_feature_checker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698