| Index: chrome/browser/android/instantapps/instant_apps_settings.h
|
| diff --git a/chrome/browser/android/instantapps/instant_apps_settings.h b/chrome/browser/android/instantapps/instant_apps_settings.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..648f3b865147c29b0600d3efdbd99d3d1a2e06dd
|
| --- /dev/null
|
| +++ b/chrome/browser/android/instantapps/instant_apps_settings.h
|
| @@ -0,0 +1,31 @@
|
| +// Copyright 2016 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_INSTANTAPPS_INSTANT_APPS_SETTINGS_H_
|
| +#define CHROME_BROWSER_ANDROID_INSTANTAPPS_INSTANT_APPS_SETTINGS_H_
|
| +
|
| +#include <jni.h>
|
| +#include <string>
|
| +#include "base/macros.h"
|
| +
|
| +namespace content {
|
| +class WebContents;
|
| +}
|
| +
|
| +class InstantAppsSettings {
|
| + public:
|
| + static const char kInstantAppsKey[];
|
| +
|
| + static void RecordInfoBarShowEvent(content::WebContents* web_contents,
|
| + const std::string& url);
|
| + static void RecordInfoBarDismissEvent(content::WebContents* web_contents,
|
| + const std::string& url);
|
| + private:
|
| + DISALLOW_IMPLICIT_CONSTRUCTORS(InstantAppsSettings);
|
| +};
|
| +
|
| +// Register native methods.
|
| +bool RegisterInstantAppsSettings(JNIEnv* env);
|
| +
|
| +#endif // CHROME_BROWSER_ANDROID_INSTANTAPPS_INSTANT_APPS_SETTINGS_H_
|
|
|