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 #include "base/command_line.h" | 5 #include "base/command_line.h" |
6 #include "base/logging.h" | 6 #include "base/logging.h" |
7 #include "base/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "base/sys_info.h" | 9 #include "base/sys_info.h" |
10 #include "content/browser/gpu/gpu_data_manager_impl.h" | 10 #include "content/browser/gpu/gpu_data_manager_impl.h" |
11 #include "content/public/browser/gpu_data_manager_observer.h" | 11 #include "content/public/browser/gpu_data_manager_observer.h" |
12 #include "content/public/common/content_switches.h" | 12 #include "content/public/common/content_switches.h" |
13 #include "content/test/content_browser_test.h" | 13 #include "content/test/content_browser_test.h" |
14 #include "ui/compositor/compositor_setup.h" | 14 #include "ui/compositor/compositor_setup.h" |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 #endif | 95 #endif |
96 TestObserver observer(GetMessageLoop()); | 96 TestObserver observer(GetMessageLoop()); |
97 GpuDataManagerImpl::GetInstance()->AddObserver(&observer); | 97 GpuDataManagerImpl::GetInstance()->AddObserver(&observer); |
98 GpuDataManagerImpl::GetInstance()->RequestCompleteGpuInfoIfNeeded(); | 98 GpuDataManagerImpl::GetInstance()->RequestCompleteGpuInfoIfNeeded(); |
99 | 99 |
100 GetMessageLoop()->Run(); | 100 GetMessageLoop()->Run(); |
101 } | 101 } |
102 | 102 |
103 } // namespace content | 103 } // namespace content |
104 | 104 |
OLD | NEW |