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

Side by Side Diff: chrome/browser/performance_monitor/startup_timer.cc

Issue 18644007: Update some includes of chrome_notification_types.h (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix deps 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
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/performance_monitor/startup_timer.h" 5 #include "chrome/browser/performance_monitor/startup_timer.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/strings/string_number_conversions.h" 9 #include "base/strings/string_number_conversions.h"
10 #include "chrome/browser/chrome_notification_types.h"
10 #include "chrome/browser/performance_monitor/database.h" 11 #include "chrome/browser/performance_monitor/database.h"
11 #include "chrome/browser/performance_monitor/performance_monitor.h" 12 #include "chrome/browser/performance_monitor/performance_monitor.h"
12 #include "chrome/common/chrome_notification_types.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 #include "content/public/browser/notification_details.h" 14 #include "content/public/browser/notification_details.h"
15 #include "content/public/browser/notification_service.h" 15 #include "content/public/browser/notification_service.h"
16 #include "content/public/browser/notification_source.h" 16 #include "content/public/browser/notification_source.h"
17 #include "content/public/browser/notification_types.h" 17 #include "content/public/browser/notification_types.h"
18 18
19 namespace performance_monitor { 19 namespace performance_monitor {
20 20
21 namespace { 21 namespace {
22 // Needed because Database::AddMetric is overloaded, so base::Bind doesn't work. 22 // Needed because Database::AddMetric is overloaded, so base::Bind doesn't work.
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 base::Bind( 130 base::Bind(
131 &AddMetricToDatabaseOnBackgroundThread, 131 &AddMetricToDatabaseOnBackgroundThread,
132 base::Unretained(PerformanceMonitor::GetInstance()->database()), 132 base::Unretained(PerformanceMonitor::GetInstance()->database()),
133 Metric(METRIC_SESSION_RESTORE_TIME, 133 Metric(METRIC_SESSION_RESTORE_TIME,
134 base::Time::Now(), 134 base::Time::Now(),
135 static_cast<double>(iter->ToInternalValue())))); 135 static_cast<double>(iter->ToInternalValue()))));
136 } 136 }
137 } 137 }
138 138
139 } // namespace performance_monitor 139 } // namespace performance_monitor
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698