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

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

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 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/history/download_database.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/history.cc
===================================================================
--- chrome/browser/history/history.cc (revision 10992)
+++ chrome/browser/history/history.cc (working copy)
@@ -99,7 +99,8 @@
: thread_(new ChromeThread(ChromeThread::HISTORY)),
profile_(NULL),
backend_loaded_(false) {
- if (NotificationService::current()) { // Is NULL when running generate_profile.
+ // Is NULL when running generate_profile.
+ if (NotificationService::current()) {
NotificationService::current()->AddObserver(
this, NotificationType::HISTORY_URLS_DELETED,
Source<Profile>(profile_));
@@ -119,7 +120,8 @@
Cleanup();
// Unregister for notifications.
- if (NotificationService::current()) { // Is NULL when running generate_profile.
+ // Is NULL when running generate_profile.
+ if (NotificationService::current()) {
NotificationService::current()->RemoveObserver(
this, NotificationType::HISTORY_URLS_DELETED,
Source<Profile>(profile_));
« no previous file with comments | « chrome/browser/history/download_database.cc ('k') | chrome/browser/history/in_memory_history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698