summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 02:03:49 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-30 02:03:49 +0000
commit10abd198e989f003f5f2fcaad735bf3566a5f8ba (patch)
treec123193e87d254fc8a63526bcce584ea39569f87 /chrome/browser/prefs
parentff7321db2060aa69b63b2090b0e5eb92d2df704e (diff)
downloadchromium_src-10abd198e989f003f5f2fcaad735bf3566a5f8ba.zip
chromium_src-10abd198e989f003f5f2fcaad735bf3566a5f8ba.tar.gz
chromium_src-10abd198e989f003f5f2fcaad735bf3566a5f8ba.tar.bz2
o Add user customizable launch type for apps by adding options in each apps context menu.
o Updated some comments that were using the outdated NOTIFY_PREF_CHANGED notification. o Make LAUNCH_PINNED the default type returned by ExtensionPrefs if it does not already exist. o Some minor refactoring within the code to reduce duplication. BUG=54731 TEST=NONE patch from issue 3419010 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60997 Reverted: http://crrev.com/61000 Review URL: http://codereview.chromium.org/3453029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/prefs')
-rw-r--r--chrome/browser/prefs/pref_notifier.h2
-rw-r--r--chrome/browser/prefs/pref_service.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/chrome/browser/prefs/pref_notifier.h b/chrome/browser/prefs/pref_notifier.h
index d981310..98dc1e3 100644
--- a/chrome/browser/prefs/pref_notifier.h
+++ b/chrome/browser/prefs/pref_notifier.h
@@ -71,7 +71,7 @@ class PrefNotifier : public NonThreadSafe,
virtual void FireObservers(const char* path);
// If the pref at the given path changes, we call the observer's Observe
- // method with NOTIFY_PREF_CHANGED.
+ // method with PREF_CHANGED.
void AddPrefObserver(const char* path, NotificationObserver* obs);
void RemovePrefObserver(const char* path, NotificationObserver* obs);
diff --git a/chrome/browser/prefs/pref_service.h b/chrome/browser/prefs/pref_service.h
index 5cedd52..3e90db6 100644
--- a/chrome/browser/prefs/pref_service.h
+++ b/chrome/browser/prefs/pref_service.h
@@ -239,9 +239,9 @@ class PrefService : public NonThreadSafe {
friend class subtle::PrefMemberBase;
// If the pref at the given path changes, we call the observer's Observe
- // method with NOTIFY_PREF_CHANGED. Note that observers should not call
- // these methods directly but rather use a PrefChangeRegistrar to make sure
- // the observer gets cleaned up properly.
+ // method with PREF_CHANGED. Note that observers should not call these methods
+ // directly but rather use a PrefChangeRegistrar to make sure the observer
+ // gets cleaned up properly.
virtual void AddPrefObserver(const char* path, NotificationObserver* obs);
virtual void RemovePrefObserver(const char* path, NotificationObserver* obs);