OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ | 5 #ifndef CHROME_BROWSER_METRICS_METRICS_REPORTING_STATE_H_ |
6 #define ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ | 6 #define CHROME_BROWSER_METRICS_METRICS_REPORTING_STATE_H_ |
7 | 7 |
8 #include <jni.h> | 8 // Tries to set crash stats upload consent to |enabled|. Regardless of success, |
| 9 // if crash stats uploading is enabled, starts the MetricsService; otherwise |
| 10 // stops it. |
| 11 // Returns whether crash stats uploading is enabled. |
| 12 // TODO(tfarina): This method is pretty confusing. Clean this up and rename it |
| 13 // to something that makes more sense. |
| 14 bool ResolveMetricsReportingEnabled(bool enabled); |
9 | 15 |
10 namespace android_webview { | 16 #endif // CHROME_BROWSER_METRICS_METRICS_REPORTING_STATE_H_ |
11 | |
12 bool RegisterCookieManager(JNIEnv* env); | |
13 | |
14 } // namespace android_webview | |
15 | |
16 #endif // ANDROID_WEBVIEW_NATIVE_COOKIE_MANAGER_H_ | |
OLD | NEW |