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

Unified Diff: chrome/browser/sync/profile_sync_service.h

Issue 7778033: Add trace code to track all posted tasks in message_loop. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: trace_event.h formatting fix Created 9 years, 3 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 | « base/threading/worker_pool_win.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service.h
diff --git a/chrome/browser/sync/profile_sync_service.h b/chrome/browser/sync/profile_sync_service.h
index 1cdd6620ab2bf2f7038a7fc503f0022f36c31966..1f45e1fa014020e6688d6e8a5d6b058470813b90 100644
--- a/chrome/browser/sync/profile_sync_service.h
+++ b/chrome/browser/sync/profile_sync_service.h
@@ -293,8 +293,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
return unrecoverable_error_message_;
}
tracked_objects::Location unrecoverable_error_location() {
- return unrecoverable_error_location_.get() ?
- *unrecoverable_error_location_.get() : tracked_objects::Location();
+ return unrecoverable_error_location_;
}
bool UIShouldDepictAuthInProgress() const {
@@ -613,7 +612,7 @@ class ProfileSyncService : public browser_sync::SyncFrontend,
// A message sent when an unrecoverable error occurred.
std::string unrecoverable_error_message_;
- scoped_ptr<tracked_objects::Location> unrecoverable_error_location_;
+ tracked_objects::Location unrecoverable_error_location_;
// Manages the start and stop of the various data types.
scoped_ptr<browser_sync::DataTypeManager> data_type_manager_;
« no previous file with comments | « base/threading/worker_pool_win.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698