Index: chrome/browser/ui/webui/ntp/new_tab_ui.h |
diff --git a/chrome/browser/ui/webui/ntp/new_tab_ui.h b/chrome/browser/ui/webui/ntp/new_tab_ui.h |
index 866d2b498f98bb98fe81bf1a77ecacda53fb0e67..b940284df43d056ffcc92853931a2e8cb998a265 100644 |
--- a/chrome/browser/ui/webui/ntp/new_tab_ui.h |
+++ b/chrome/browser/ui/webui/ntp/new_tab_ui.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -30,6 +30,13 @@ class NewTabUI : public content::WebUIController, |
static void RegisterUserPrefs(PrefService* prefs); |
+ // Sets up any experiment in which the NTP might want to participate. |
+ // The CWS footer link is one such example. |
+ static void SetupFieldTrials(); |
+ |
+ // Returns whether or not the CWS footer experiment is enabled. |
+ static bool IsWebStoreExperimentEnabled(); |
+ |
// Adds "url", "title", and "direction" keys on incoming dictionary, setting |
// title as the url as a fallback on empty title. |
static void SetURLTitleAndDirection(base::DictionaryValue* dictionary, |