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

Side by Side Diff: chrome/browser/ui/browser_list.cc

Issue 8539051: aura: Touch state file after first browser is ready. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update more includes Created 9 years, 1 month 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/browser/ui/browser_init.cc ('k') | chrome/browser/ui/views/browser_bubble_gtk.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/ui/browser_list.h" 5 #include "chrome/browser/ui/browser_list.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "base/metrics/histogram.h" 9 #include "base/metrics/histogram.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 18 matching lines...) Expand all
29 #include "chrome/browser/chrome_browser_application_mac.h" 29 #include "chrome/browser/chrome_browser_application_mac.h"
30 #endif 30 #endif
31 31
32 #if defined(OS_CHROMEOS) 32 #if defined(OS_CHROMEOS)
33 #include "chrome/browser/chromeos/boot_times_loader.h" 33 #include "chrome/browser/chromeos/boot_times_loader.h"
34 #include "chrome/browser/chromeos/cros/cros_library.h" 34 #include "chrome/browser/chromeos/cros/cros_library.h"
35 #include "chrome/browser/chromeos/cros/update_library.h" 35 #include "chrome/browser/chromeos/cros/update_library.h"
36 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h" 36 #include "chrome/browser/chromeos/dbus/dbus_thread_manager.h"
37 #include "chrome/browser/chromeos/dbus/session_manager_client.h" 37 #include "chrome/browser/chromeos/dbus/session_manager_client.h"
38 #if defined(TOOLKIT_USES_GTK) 38 #if defined(TOOLKIT_USES_GTK)
39 #include "chrome/browser/chromeos/wm_ipc.h" 39 #include "chrome/browser/chromeos/legacy_window_manager/wm_ipc.h"
40 #endif 40 #endif
41 #endif 41 #endif
42 42
43 namespace { 43 namespace {
44 44
45 // This object is instantiated when the first Browser object is added to the 45 // This object is instantiated when the first Browser object is added to the
46 // list and delete when the last one is removed. It watches for loads and 46 // list and delete when the last one is removed. It watches for loads and
47 // creates histograms of some global object counts. 47 // creates histograms of some global object counts.
48 class BrowserActivityObserver : public content::NotificationObserver { 48 class BrowserActivityObserver : public content::NotificationObserver {
49 public: 49 public:
(...skipping 765 matching lines...) Expand 10 before | Expand all | Expand 10 after
815 // If no more TabContents from Browsers, check the BackgroundPrintingManager. 815 // If no more TabContents from Browsers, check the BackgroundPrintingManager.
816 while (bg_printing_iterator_ != GetBackgroundPrintingManager()->end()) { 816 while (bg_printing_iterator_ != GetBackgroundPrintingManager()->end()) {
817 cur_ = *bg_printing_iterator_; 817 cur_ = *bg_printing_iterator_;
818 CHECK(cur_); 818 CHECK(cur_);
819 ++bg_printing_iterator_; 819 ++bg_printing_iterator_;
820 return; 820 return;
821 } 821 }
822 // Reached the end - no more TabContents. 822 // Reached the end - no more TabContents.
823 cur_ = NULL; 823 cur_ = NULL;
824 } 824 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/browser_init.cc ('k') | chrome/browser/ui/views/browser_bubble_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698