summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 15:29:47 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-23 15:29:47 +0000
commita17710f5cf04f0c6505fba73e58e668c71f8c2fa (patch)
treeedb084eced7a7aece73ef97e252ef19d303b3e54 /chrome/common
parentb1f5e28f36d1c8af1e35738b642b71f7e3382b83 (diff)
downloadchromium_src-a17710f5cf04f0c6505fba73e58e668c71f8c2fa.zip
chromium_src-a17710f5cf04f0c6505fba73e58e668c71f8c2fa.tar.gz
chromium_src-a17710f5cf04f0c6505fba73e58e668c71f8c2fa.tar.bz2
Allow web resource server to set custom logo display by start and end date.
BUG=56388 TEST=none Review URL: http://codereview.chromium.org/3382014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60291 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/pref_names.cc6
-rw-r--r--chrome/common/pref_names.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index 2cd9111..a47eaa1 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -899,8 +899,10 @@ const char kNTPShownSections[] = "ntp.shown_sections";
// This pref is used for migrating the prefs for the NTP
const char kNTPPrefVersion[] = "ntp.pref_version";
-// Used if the NTP should show a custom logo rather than the standard one.
-const char kNTPCustomLogo[] = "ntp.custom_logo";
+// Dates between which the NTP should show a custom logo rather than the
+// standard one.
+const char kNTPCustomLogoStart[] = "ntp.custom_logo_start";
+const char kNTPCustomLogoEnd[] = "ntp.custom_logo_end";
// A boolean specifying whether dev tools window should be opened docked.
const char kDevToolsOpenDocked[] = "devtools.open_docked";
diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h
index 295b804..86e33aa 100644
--- a/chrome/common/pref_names.h
+++ b/chrome/common/pref_names.h
@@ -327,7 +327,8 @@ extern const char kNTPWebResourceCacheUpdate[];
extern const char kNTPWebResourceServer[];
extern const char kNTPShownSections[];
extern const char kNTPPrefVersion[];
-extern const char kNTPCustomLogo[];
+extern const char kNTPCustomLogoStart[];
+extern const char kNTPCustomLogoEnd[];
extern const char kDevToolsOpenDocked[];
extern const char kDevToolsSplitLocation[];