summaryrefslogtreecommitdiffstats
path: root/chrome/browser/history/history.cc
diff options
context:
space:
mode:
authormaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 21:07:27 +0000
committermaruel@google.com <maruel@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 21:07:27 +0000
commitd3216441b7726c31fb0ae9b9d90b64421e14ca39 (patch)
tree653882df34541ec7aa37e4024f8fce27fd9ba5b6 /chrome/browser/history/history.cc
parentba61ace67a08e56026d2e8034d7a938d2f8e5bd6 (diff)
downloadchromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.zip
chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.gz
chromium_src-d3216441b7726c31fb0ae9b9d90b64421e14ca39.tar.bz2
NO CODE CHANGE.
Split the lines >80 cols. (Part 1) Review URL: http://codereview.chromium.org/39206 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@11032 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/history/history.cc')
-rw-r--r--chrome/browser/history/history.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/history/history.cc b/chrome/browser/history/history.cc
index 49707cf..2fe3669 100644
--- a/chrome/browser/history/history.cc
+++ b/chrome/browser/history/history.cc
@@ -99,7 +99,8 @@ HistoryService::HistoryService()
: 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 @@ HistoryService::~HistoryService() {
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_));