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

Side by Side Diff: content/browser/gpu/gpu_info_browsertest.cc

Issue 19532003: Use a direct include of the message_loop header in content/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | Annotate | Revision Log
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 #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
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
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl_private_unittest.cc ('k') | content/browser/host_zoom_map_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698