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

Unified Diff: chrome/browser/automation/automation_provider_observers.cc

Issue 9581023: Merge 124725 - more logs for 26646 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1058/src/
Patch Set: Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/automation/automation_provider_observers.cc
===================================================================
--- chrome/browser/automation/automation_provider_observers.cc (revision 124743)
+++ chrome/browser/automation/automation_provider_observers.cc (working copy)
@@ -118,6 +118,10 @@
crashed_tab_count_(0),
outstanding_tab_count_(tab_count),
init_time_(base::TimeTicks::Now()) {
+#if defined(OS_CHROMEOS)
+ LOG(ERROR) << "InitialLoadObserver::Observe type=" << tab_count;
+#endif
+
if (outstanding_tab_count_ > 0) {
registrar_.Add(this, content::NOTIFICATION_LOAD_START,
content::NotificationService::AllSources());
@@ -134,6 +138,10 @@
void InitialLoadObserver::Observe(int type,
const content::NotificationSource& source,
const content::NotificationDetails& details) {
+#if defined(OS_CHROMEOS)
+ LOG(ERROR) << "InitialLoadObserver::Observe type=" << type;
+#endif
+
if (type == content::NOTIFICATION_LOAD_START) {
if (outstanding_tab_count_ > loading_tabs_.size())
loading_tabs_.insert(TabTimeMap::value_type(
@@ -176,6 +184,13 @@
NOTREACHED();
}
+#if defined(OS_CHROMEOS)
+ LOG(ERROR) << "InitialLoadObserver::Observe type=" << type
+ << ", finished=" << finished_tabs_.size()
+ << ", crashed=" << crashed_tab_count_
+ << ", outstanding=" << outstanding_tab_count_;
+#endif
+
if (finished_tabs_.size() + crashed_tab_count_ >= outstanding_tab_count_)
ConditionMet();
}
« no previous file with comments | « chrome/browser/automation/automation_provider.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698