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

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

Issue 2891933004: Remove raw base::DictionaryValue::Set in //content (Closed)
Patch Set: Created 3 years, 7 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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_DATA_MANAGER_IMPL_PRIVATE_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include <list> 11 #include <list>
12 #include <map> 12 #include <map>
13 #include <memory>
13 #include <set> 14 #include <set>
14 #include <string> 15 #include <string>
15 #include <vector> 16 #include <vector>
16 17
17 #include "base/gtest_prod_util.h" 18 #include "base/gtest_prod_util.h"
18 #include "base/macros.h" 19 #include "base/macros.h"
19 #include "base/memory/ref_counted.h" 20 #include "base/memory/ref_counted.h"
20 #include "base/memory/singleton.h" 21 #include "base/memory/singleton.h"
21 #include "base/observer_list_threadsafe.h" 22 #include "base/observer_list_threadsafe.h"
23 #include "base/values.h"
22 #include "build/build_config.h" 24 #include "build/build_config.h"
23 #include "content/browser/gpu/gpu_data_manager_impl.h" 25 #include "content/browser/gpu/gpu_data_manager_impl.h"
24 #include "gpu/config/gpu_blacklist.h" 26 #include "gpu/config/gpu_blacklist.h"
25 #include "gpu/config/gpu_driver_bug_list.h" 27 #include "gpu/config/gpu_driver_bug_list.h"
26 28
27 namespace base { 29 namespace base {
28 class CommandLine; 30 class CommandLine;
29 } 31 }
30 32
31 namespace gpu { 33 namespace gpu {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 void GetBlacklistReasons(base::ListValue* reasons) const; 86 void GetBlacklistReasons(base::ListValue* reasons) const;
85 87
86 std::vector<std::string> GetDriverBugWorkarounds() const; 88 std::vector<std::string> GetDriverBugWorkarounds() const;
87 89
88 void AddLogMessage(int level, 90 void AddLogMessage(int level,
89 const std::string& header, 91 const std::string& header,
90 const std::string& message); 92 const std::string& message);
91 93
92 void ProcessCrashed(base::TerminationStatus exit_code); 94 void ProcessCrashed(base::TerminationStatus exit_code);
93 95
94 base::ListValue* GetLogMessages() const; 96 std::unique_ptr<base::ListValue> GetLogMessages() const;
95 97
96 void HandleGpuSwitch(); 98 void HandleGpuSwitch();
97 99
98 bool CanUseGpuBrowserCompositor() const; 100 bool CanUseGpuBrowserCompositor() const;
99 bool ShouldDisableAcceleratedVideoDecode( 101 bool ShouldDisableAcceleratedVideoDecode(
100 const base::CommandLine* command_line) const; 102 const base::CommandLine* command_line) const;
101 103
102 void GetDisabledExtensions(std::string* disabled_extensions) const; 104 void GetDisabledExtensions(std::string* disabled_extensions) const;
103 105
104 void BlockDomainFrom3DAPIs( 106 void BlockDomainFrom3DAPIs(
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // If one tries to call a member before initialization then it is defered 279 // If one tries to call a member before initialization then it is defered
278 // until Initialize() is completed. 280 // until Initialize() is completed.
279 std::vector<base::Closure> post_init_tasks_; 281 std::vector<base::Closure> post_init_tasks_;
280 282
281 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); 283 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate);
282 }; 284 };
283 285
284 } // namespace content 286 } // namespace content
285 287
286 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ 288 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/browser/gpu/gpu_data_manager_impl_private.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698