OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/browser/page_cycler/page_cycler.h" | 5 #include "chrome/browser/page_cycler/page_cycler.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
11 #include "base/process_util.h" | 11 #include "base/process_util.h" |
12 #include "base/string_split.h" | |
13 #include "base/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 13 #include "base/strings/string_split.h" |
14 #include "base/utf_string_conversions.h" | 14 #include "base/utf_string_conversions.h" |
15 #include "chrome/app/chrome_command_ids.h" | 15 #include "chrome/app/chrome_command_ids.h" |
16 #include "chrome/browser/ui/browser.h" | 16 #include "chrome/browser/ui/browser.h" |
17 #include "chrome/browser/ui/browser_commands.h" | 17 #include "chrome/browser/ui/browser_commands.h" |
18 #include "chrome/browser/ui/browser_list.h" | 18 #include "chrome/browser/ui/browser_list.h" |
19 #include "chrome/browser/ui/tabs/tab_strip_model.h" | 19 #include "chrome/browser/ui/tabs/tab_strip_model.h" |
20 #include "chrome/common/chrome_notification_types.h" | 20 #include "chrome/common/chrome_notification_types.h" |
21 #include "chrome/test/base/chrome_process_util.h" | 21 #include "chrome/test/base/chrome_process_util.h" |
22 #include "chrome/test/perf/perf_test.h" | 22 #include "chrome/test/perf/perf_test.h" |
23 #include "content/public/browser/browser_thread.h" | 23 #include "content/public/browser/browser_thread.h" |
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
257 aborted_ = true; | 257 aborted_ = true; |
258 error_.append(ASCIIToUTF16( | 258 error_.append(ASCIIToUTF16( |
259 "Browser was closed before the run was completed.")); | 259 "Browser was closed before the run was completed.")); |
260 DLOG(WARNING) << | 260 DLOG(WARNING) << |
261 "Page Cycler: browser was closed before the run was completed."; | 261 "Page Cycler: browser was closed before the run was completed."; |
262 content::BrowserThread::PostBlockingPoolTask( | 262 content::BrowserThread::PostBlockingPoolTask( |
263 FROM_HERE, | 263 FROM_HERE, |
264 base::Bind(&PageCycler::PrepareResultsOnBackgroundThread, this)); | 264 base::Bind(&PageCycler::PrepareResultsOnBackgroundThread, this)); |
265 } | 265 } |
266 } | 266 } |
OLD | NEW |