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

Unified Diff: chrome/browser/performance_monitor/performance_monitor.cc

Issue 10797056: CPM: API changes for API/UI integration. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Synced 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/performance_monitor/performance_monitor_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/performance_monitor/performance_monitor.cc
diff --git a/chrome/browser/performance_monitor/performance_monitor.cc b/chrome/browser/performance_monitor/performance_monitor.cc
index a96e5b1c8343e2bd99439e858a4a043023400b9a..445d113de0a42904fa0078d168d33e1e8a6d197f 100644
--- a/chrome/browser/performance_monitor/performance_monitor.cc
+++ b/chrome/browser/performance_monitor/performance_monitor.cc
@@ -51,7 +51,7 @@ PerformanceMonitor* PerformanceMonitor::GetInstance() {
}
void PerformanceMonitor::Start() {
- BrowserThread::PostBlockingPoolTaskAndReply(
+ util::PostTaskToDatabaseThreadAndReply(
FROM_HERE,
base::Bind(&PerformanceMonitor::InitOnBackgroundThread,
base::Unretained(this)),
@@ -81,6 +81,7 @@ void PerformanceMonitor::FinishInit() {
// to the background thread, and do not rely upon a reply from the background
// thread; this is necessary for this notification to be valid.
util::PostTaskToDatabaseThreadAndReply(
+ FROM_HERE,
base::Bind(&base::DoNothing),
base::Bind(&PerformanceMonitor::NotifyInitialized,
base::Unretained(this)));
« no previous file with comments | « no previous file | chrome/browser/performance_monitor/performance_monitor_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698