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

Side by Side Diff: chrome/browser/android/instantapps/instant_apps_settings.h

Issue 2379783002: Instant App Banner logic. (Closed)
Patch Set: Alphabetize and rename constants Created 4 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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698