OLD | NEW |
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 <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 std::string GetBlacklistVersion() const; | 114 std::string GetBlacklistVersion() const; |
115 std::string GetDriverBugListVersion() const; | 115 std::string GetDriverBugListVersion() const; |
116 | 116 |
117 // Returns the reasons for the latest run of blacklisting decisions. | 117 // Returns the reasons for the latest run of blacklisting decisions. |
118 // For the structure of returned value, see documentation for | 118 // For the structure of returned value, see documentation for |
119 // GpuBlacklist::GetBlacklistedReasons(). | 119 // GpuBlacklist::GetBlacklistedReasons(). |
120 void GetBlacklistReasons(base::ListValue* reasons) const; | 120 void GetBlacklistReasons(base::ListValue* reasons) const; |
121 | 121 |
122 // Returns the workarounds that are applied to the current system as | 122 // Returns the workarounds that are applied to the current system as |
123 // a list of strings. | 123 // a vector of strings. |
124 void GetDriverBugWorkarounds(base::ListValue* workarounds) const; | 124 std::vector<std::string> GetDriverBugWorkarounds() const; |
125 | 125 |
126 void AddLogMessage(int level, | 126 void AddLogMessage(int level, |
127 const std::string& header, | 127 const std::string& header, |
128 const std::string& message); | 128 const std::string& message); |
129 | 129 |
130 void ProcessCrashed(base::TerminationStatus exit_code); | 130 void ProcessCrashed(base::TerminationStatus exit_code); |
131 | 131 |
132 // Returns a new copy of the ListValue. Caller is responsible to release | 132 // Returns a new copy of the ListValue. Caller is responsible to release |
133 // the returned value. | 133 // the returned value. |
134 base::ListValue* GetLogMessages() const; | 134 base::ListValue* GetLogMessages() const; |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 | 210 |
211 mutable base::Lock lock_; | 211 mutable base::Lock lock_; |
212 scoped_ptr<GpuDataManagerImplPrivate> private_; | 212 scoped_ptr<GpuDataManagerImplPrivate> private_; |
213 | 213 |
214 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); | 214 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImpl); |
215 }; | 215 }; |
216 | 216 |
217 } // namespace content | 217 } // namespace content |
218 | 218 |
219 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ | 219 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_H_ |
OLD | NEW |