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

Side by Side Diff: chrome/browser/page_cycler/page_cycler.cc

Issue 10690151: Move implementation of BrowserList onto an inner, instantiatable class, BrowserListImpl. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 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) 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_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.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_number_conversions.h" 12 #include "base/string_number_conversions.h"
13 #include "base/string_split.h" 13 #include "base/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_commands.h" 17 #include "chrome/browser/ui/browser_commands.h"
18 #include "chrome/browser/ui/browser_list.h"
17 #include "chrome/browser/ui/browser_tabstrip.h" 19 #include "chrome/browser/ui/browser_tabstrip.h"
18 #include "chrome/common/chrome_notification_types.h" 20 #include "chrome/common/chrome_notification_types.h"
19 #include "chrome/test/base/chrome_process_util.h" 21 #include "chrome/test/base/chrome_process_util.h"
20 #include "chrome/test/perf/perf_test.h" 22 #include "chrome/test/perf/perf_test.h"
21 #include "content/public/browser/browser_thread.h" 23 #include "content/public/browser/browser_thread.h"
22 #include "content/public/browser/notification_service.h" 24 #include "content/public/browser/notification_service.h"
23 #include "content/public/browser/render_view_host.h" 25 #include "content/public/browser/render_view_host.h"
24 #include "content/public/browser/web_contents.h" 26 #include "content/public/browser/web_contents.h"
25 #include "content/public/common/url_constants.h" 27 #include "content/public/common/url_constants.h"
26 28
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 aborted_ = true; 255 aborted_ = true;
254 error_.append(ASCIIToUTF16( 256 error_.append(ASCIIToUTF16(
255 "Browser was closed before the run was completed.")); 257 "Browser was closed before the run was completed."));
256 DLOG(WARNING) << 258 DLOG(WARNING) <<
257 "Page Cycler: browser was closed before the run was completed."; 259 "Page Cycler: browser was closed before the run was completed.";
258 content::BrowserThread::PostBlockingPoolTask( 260 content::BrowserThread::PostBlockingPoolTask(
259 FROM_HERE, 261 FROM_HERE,
260 base::Bind(&PageCycler::PrepareResultsOnBackgroundThread, this)); 262 base::Bind(&PageCycler::PrepareResultsOnBackgroundThread, this));
261 } 263 }
262 } 264 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698