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_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 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); | 70 void UpdateGpuInfo(const gpu::GPUInfo& gpu_info); |
71 | 71 |
72 void UpdateVideoMemoryUsageStats( | 72 void UpdateVideoMemoryUsageStats( |
73 const gpu::VideoMemoryUsageStats& video_memory_usage_stats); | 73 const gpu::VideoMemoryUsageStats& video_memory_usage_stats); |
74 | 74 |
75 void AppendRendererCommandLine(base::CommandLine* command_line) const; | 75 void AppendRendererCommandLine(base::CommandLine* command_line) const; |
76 | 76 |
77 void AppendGpuCommandLine(base::CommandLine* command_line) const; | 77 void AppendGpuCommandLine(base::CommandLine* command_line) const; |
78 | 78 |
79 void AppendPluginCommandLine(base::CommandLine* command_line) const; | |
80 | |
81 void UpdateRendererWebPrefs(WebPreferences* prefs) const; | 79 void UpdateRendererWebPrefs(WebPreferences* prefs) const; |
82 | 80 |
83 std::string GetBlacklistVersion() const; | 81 std::string GetBlacklistVersion() const; |
84 std::string GetDriverBugListVersion() const; | 82 std::string GetDriverBugListVersion() const; |
85 | 83 |
86 void GetBlacklistReasons(base::ListValue* reasons) const; | 84 void GetBlacklistReasons(base::ListValue* reasons) const; |
87 | 85 |
88 std::vector<std::string> GetDriverBugWorkarounds() const; | 86 std::vector<std::string> GetDriverBugWorkarounds() const; |
89 | 87 |
90 void AddLogMessage(int level, | 88 void AddLogMessage(int level, |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // If one tries to call a member before initialization then it is defered | 275 // If one tries to call a member before initialization then it is defered |
278 // until Initialize() is completed. | 276 // until Initialize() is completed. |
279 std::vector<base::Closure> post_init_tasks_; | 277 std::vector<base::Closure> post_init_tasks_; |
280 | 278 |
281 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); | 279 DISALLOW_COPY_AND_ASSIGN(GpuDataManagerImplPrivate); |
282 }; | 280 }; |
283 | 281 |
284 } // namespace content | 282 } // namespace content |
285 | 283 |
286 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ | 284 #endif // CONTENT_BROWSER_GPU_GPU_DATA_MANAGER_IMPL_PRIVATE_H_ |
OLD | NEW |