OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_ANDROID_INSTANTAPPS_INSTANT_APPS_SETTINGS_H_ | |
6 #define CHROME_BROWSER_ANDROID_INSTANTAPPS_INSTANT_APPS_SETTINGS_H_ | |
7 | |
8 #include <jni.h> | |
9 #include <string> | |
10 #include "base/macros.h" | |
11 | |
12 namespace content { | |
13 class WebContents; | |
14 } | |
15 | |
16 class InstantAppsSettings { | |
Ted C
2016/09/30 18:01:34
some description here would be good
Maria
2016/09/30 20:35:18
Done.
| |
17 public: | |
18 static const char kInstantAppsKey[]; | |
19 | |
20 static void RecordInfoBarShowEvent(content::WebContents* web_contents, | |
21 const std::string& url); | |
22 static void RecordInfoBarDismissEvent(content::WebContents* web_contents, | |
23 const std::string& url); | |
24 private: | |
25 DISALLOW_IMPLICIT_CONSTRUCTORS(InstantAppsSettings); | |
26 }; | |
27 | |
28 // Register native methods. | |
29 bool RegisterInstantAppsSettings(JNIEnv* env); | |
30 | |
31 #endif // CHROME_BROWSER_ANDROID_INSTANTAPPS_INSTANT_APPS_SETTINGS_H_ | |
OLD | NEW |