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

Side by Side Diff: content/browser/gpu/gpu_data_manager_impl.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
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | content/browser/gpu/gpu_data_manager_impl.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) 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_H_ 5 #ifndef CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 6 #define CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // Returns the workarounds that are applied to the current system as 140 // Returns the workarounds that are applied to the current system as
141 // a vector of strings. 141 // a vector of strings.
142 std::vector<std::string> GetDriverBugWorkarounds() const; 142 std::vector<std::string> GetDriverBugWorkarounds() const;
143 143
144 void AddLogMessage(int level, 144 void AddLogMessage(int level,
145 const std::string& header, 145 const std::string& header,
146 const std::string& message); 146 const std::string& message);
147 147
148 void ProcessCrashed(base::TerminationStatus exit_code); 148 void ProcessCrashed(base::TerminationStatus exit_code);
149 149
150 // Returns a new copy of the ListValue. Caller is responsible to release 150 // Returns a new copy of the ListValue.
151 // the returned value. 151 std::unique_ptr<base::ListValue> GetLogMessages() const;
152 base::ListValue* GetLogMessages() const;
153 152
154 // Called when switching gpu. 153 // Called when switching gpu.
155 void HandleGpuSwitch(); 154 void HandleGpuSwitch();
156 155
157 // Maintenance of domains requiring explicit user permission before 156 // Maintenance of domains requiring explicit user permission before
158 // using client-facing 3D APIs (WebGL, Pepper 3D), either because 157 // using client-facing 3D APIs (WebGL, Pepper 3D), either because
159 // the domain has caused the GPU to reset, or because too many GPU 158 // the domain has caused the GPU to reset, or because too many GPU
160 // resets have been observed globally recently, and system stability 159 // resets have been observed globally recently, and system stability
161 // might be compromised. 160 // might be compromised.
162 // 161 //
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 224
226 mutable base::Lock lock_; 225 mutable base::Lock lock_;
227 std::unique_ptr<GpuDataManagerImplPrivate> private_; 226 std::unique_ptr<GpuDataManagerImplPrivate> private_;
228 227
229 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); 228 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl);
230 }; 229 };
231 230
232 } // namespace content 231 } // namespace content
233 232
234 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ 233 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/gpu/compositor_util.cc ('k') | content/browser/gpu/gpu_data_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698