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

Unified Diff: chrome/browser/android/feature_utilities.h

Issue 658903002: Starting a refactor to allow adding metrics on upload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Style fixes Created 6 years, 2 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/android/feature_utilities.h
diff --git a/chrome/browser/android/feature_utilities.h b/chrome/browser/android/feature_utilities.h
new file mode 100644
index 0000000000000000000000000000000000000000..f21502c117f014ac5f7928289cb2d0292a6e7876
--- /dev/null
+++ b/chrome/browser/android/feature_utilities.h
@@ -0,0 +1,24 @@
+// Copyright 2014 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_ANDROID_FEATURE_UTILITIES_H_
+#define CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_
+
+#include <jni.h>
+
+namespace chrome {
+namespace android {
+
+static const int DOCUMENT_MODE = 0;
Alexei Svitkine (slow) 2014/10/17 18:30:51 Is there a reason this isn't an enum?
Maria 2014/10/17 21:44:50 Done.
+static const int TABBED_MODE = 1;
+static const int HISTOGRAM_MAX = 2;
+
+int GetDocumentModeValue();
+
+} // namespace android
+} // namespace chrome
+
+bool RegisterFeatureUtilities(JNIEnv* env);
+
+#endif // CHROME_BROWSER_ANDROID_FEATURE_UTILITIES_H_

Powered by Google App Engine
This is Rietveld 408576698