| // 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_FLAGS_ANDROID_CACHED_FEATURE_FLAGS_H_ |
| #define CHROME_BROWSER_FLAGS_ANDROID_CACHED_FEATURE_FLAGS_H_ |
| |
| #include <jni.h> |
| |
| #include <string> |
| |
| namespace base { |
| struct Feature; |
| } // namespace base |
| |
| namespace chrome { |
| namespace android { |
| |
| bool IsJavaDrivenFeatureEnabled(const base::Feature& feature); |
| |
| // Returns a finch group name currently used for the reached code profiler. |
| // Returns an empty string if the group isn't specified. |
| std::string GetReachedCodeProfilerTrialGroup(); |
| |
| } // namespace android |
| } // namespace chrome |
| |
| #endif // CHROME_BROWSER_FLAGS_ANDROID_CACHED_FEATURE_FLAGS_H_ |