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

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

Issue 7800015: prune down content_dll change to just the CONTENT_EXPORTS (Closed)
Patch Set: update copyright headers, merge Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_GPU_BLACKLIST_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_
6 #define CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ 6 #define CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/values.h" 16 #include "base/values.h"
17 #include "content/common/content_export.h"
17 #include "content/common/gpu/gpu_feature_flags.h" 18 #include "content/common/gpu/gpu_feature_flags.h"
18 19
19 class Version; 20 class Version;
20 struct GPUInfo; 21 struct GPUInfo;
21 22
22 namespace base { 23 namespace base {
23 class DictionaryValue; 24 class DictionaryValue;
24 } 25 }
25 26
26 class GpuBlacklist { 27 class CONTENT_EXPORT GpuBlacklist {
27 public: 28 public:
28 enum OsType { 29 enum OsType {
29 kOsLinux, 30 kOsLinux,
30 kOsMacosx, 31 kOsMacosx,
31 kOsWin, 32 kOsWin,
32 kOsChromeOS, 33 kOsChromeOS,
33 kOsAny, 34 kOsAny,
34 kOsUnknown 35 kOsUnknown
35 }; 36 };
36 37
(...skipping 316 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 std::vector<ScopedGpuBlacklistEntry> active_entries_; 354 std::vector<ScopedGpuBlacklistEntry> active_entries_;
354 355
355 uint32 max_entry_id_; 356 uint32 max_entry_id_;
356 357
357 bool contains_unknown_fields_; 358 bool contains_unknown_fields_;
358 359
359 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist); 360 DISALLOW_COPY_AND_ASSIGN(GpuBlacklist);
360 }; 361 };
361 362
362 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_ 363 #endif // CONTENT_BROWSER_GPU_GPU_BLACKLIST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698