summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 00:43:42 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-03-07 00:43:42 +0000
commit17c373ec98c893974f1525dbe957b658ffa03aae (patch)
treebf4c859cb4bdf1a89944af5b822602ddc3c81300
parentff88ae4d7ab62af7e683b7e0ee79c6c3c15c28c2 (diff)
downloadchromium_src-17c373ec98c893974f1525dbe957b658ffa03aae.zip
chromium_src-17c373ec98c893974f1525dbe957b658ffa03aae.tar.gz
chromium_src-17c373ec98c893974f1525dbe957b658ffa03aae.tar.bz2
apps: Document that switches and pref names should be listed in alphabetical order.
And each one should be documented alongside the definition of their values in the source file. R=benwells@chromium.org NOTRY=true Review URL: https://chromiumcodereview.appspot.com/12476015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@186555 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--apps/pref_names.h4
-rw-r--r--apps/switches.h2
2 files changed, 4 insertions, 2 deletions
diff --git a/apps/pref_names.h b/apps/pref_names.h
index 1cca82f..90fc5d6 100644
--- a/apps/pref_names.h
+++ b/apps/pref_names.h
@@ -6,13 +6,13 @@
#define APPS_PREF_NAMES_H_
namespace apps {
-
namespace prefs {
+// Alphabetical list of preference names specific to Apps component.
+// Keep alphabetized and document each one in the source file.
extern const char kAppLauncherIsEnabled[];
} // namespace prefs
-
} // namespace apps
#endif // APPS_PREF_NAMES_H_
diff --git a/apps/switches.h b/apps/switches.h
index c9ff965..6f7671f 100644
--- a/apps/switches.h
+++ b/apps/switches.h
@@ -8,6 +8,8 @@
namespace apps {
namespace switches {
+// Alphabetical list of switches specific to Apps component.
+// Keep alphabetized and document each one in the source file.
extern const char kShowAppListShortcut[];
} // namespace switches