summaryrefslogtreecommitdiffstats
path: root/chrome/browser/prefs
diff options
context:
space:
mode:
authorandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 21:59:56 +0000
committerandybons@chromium.org <andybons@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-29 21:59:56 +0000
commit84ecdf7d93b33da9cf1481aa32b100a420a5ac18 (patch)
tree45adee532d707a7fee5af5fedc7a8cbc350b4b0e /chrome/browser/prefs
parent0fd776c40893cb7c9e02c0060a818a7fe972f1aa (diff)
downloadchromium_src-84ecdf7d93b33da9cf1481aa32b100a420a5ac18.zip
chromium_src-84ecdf7d93b33da9cf1481aa32b100a420a5ac18.tar.gz
chromium_src-84ecdf7d93b33da9cf1481aa32b100a420a5ac18.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 Review URL: http://codereview.chromium.org/3453029 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60997 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);