Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(598)

Unified Diff: chrome/browser/chrome_browser_field_trials_mobile.h

Issue 14247021: Split the field trial setup code into desktop and mobile files. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Fix win compile. Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_browser_field_trials_mobile.h
diff --git a/chrome/browser/chrome_browser_field_trials_mobile.h b/chrome/browser/chrome_browser_field_trials_mobile.h
new file mode 100644
index 0000000000000000000000000000000000000000..bf7e25eca0b1bb83277673a8d9e9e9030c03c9bb
--- /dev/null
+++ b/chrome/browser/chrome_browser_field_trials_mobile.h
@@ -0,0 +1,24 @@
+// Copyright 2013 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.
+
+#ifndef CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_MOBILE_H_
+#define CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_MOBILE_H_
+
+#include "base/basictypes.h"
+#include "base/time.h"
+
+class CommandLine;
+class PrefService;
+
+namespace chrome {
+
+// Sets up mobile-only field trials.
+// Add invocation of your field trial initialization code in this method.
SteveT 2013/04/19 14:33:49 Did you want to include a comment here about how a
rohitrao (ping after 24h) 2013/04/19 14:42:58 Copied the same comment from the desktop file.
+void SetupMobileFieldTrials(const CommandLine& parsed_command_line,
+ const base::Time& install_time,
+ PrefService* local_state);
+
+} // end namespace chrome
+
+#endif // CHROME_BROWSER_CHROME_BROWSER_FIELD_TRIALS_MOBILE_H_

Powered by Google App Engine
This is Rietveld 408576698