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

Side by Side Diff: chrome/test/perf/perf_ui_test_suite.cc

Issue 19569006: Use a direct include of the message_loop header in chrome/test/, chrome/tools/, chrome/utility/. (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
« no previous file with comments | « chrome/test/perf/generate_profile.cc ('k') | chrome/test/perf/perftests.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 #include "chrome/test/perf/perf_ui_test_suite.h" 5 #include "chrome/test/perf/perf_ui_test_suite.h"
6 6
7 #include "base/file_util.h" 7 #include "base/file_util.h"
8 #include "base/json/json_file_value_serializer.h" 8 #include "base/json/json_file_value_serializer.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop.h" 11 #include "base/message_loop/message_loop.h"
12 #include "base/path_service.h" 12 #include "base/path_service.h"
13 #include "base/strings/string_util.h" 13 #include "base/strings/string_util.h"
14 #include "base/strings/utf_string_conversions.h" 14 #include "base/strings/utf_string_conversions.h"
15 #include "base/threading/platform_thread.h" 15 #include "base/threading/platform_thread.h"
16 #include "chrome/browser/themes/browser_theme_pack.h" 16 #include "chrome/browser/themes/browser_theme_pack.h"
17 #include "chrome/common/chrome_constants.h" 17 #include "chrome/common/chrome_constants.h"
18 #include "chrome/common/chrome_paths.h" 18 #include "chrome/common/chrome_paths.h"
19 #include "chrome/common/extensions/extension.h" 19 #include "chrome/common/extensions/extension.h"
20 #include "chrome/test/perf/generate_profile.h" 20 #include "chrome/test/perf/generate_profile.h"
21 #include "content/public/test/test_browser_thread.h" 21 #include "content/public/test/test_browser_thread.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 content::TestBrowserThread file_thread_(BrowserThread::FILE, 162 content::TestBrowserThread file_thread_(BrowserThread::FILE,
163 &message_loop_); 163 &message_loop_);
164 164
165 scoped_refptr<BrowserThemePack> theme( 165 scoped_refptr<BrowserThemePack> theme(
166 BrowserThemePack::BuildFromExtension(extension.get())); 166 BrowserThemePack::BuildFromExtension(extension.get()));
167 if (!theme.get()) 167 if (!theme.get())
168 LOG(FATAL) << "Failed to load theme from extension"; 168 LOG(FATAL) << "Failed to load theme from extension";
169 169
170 theme->WriteToDisk(extension_base.AppendASCII("Cached Theme.pak")); 170 theme->WriteToDisk(extension_base.AppendASCII("Cached Theme.pak"));
171 } 171 }
OLDNEW
« no previous file with comments | « chrome/test/perf/generate_profile.cc ('k') | chrome/test/perf/perftests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698