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

Side by Side Diff: chrome/browser/android/webapk/chrome_webapk_host.h

Issue 2654093006: WebAPKs: Fix play-install variations check (Closed)
Patch Set: Created 3 years, 10 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
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 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 CHROME_BROWSER_ANDROID_WEBAPK_CHROME_WEBAPK_HOST_H_ 5 #ifndef CHROME_BROWSER_ANDROID_WEBAPK_CHROME_WEBAPK_HOST_H_
6 #define CHROME_BROWSER_ANDROID_WEBAPK_CHROME_WEBAPK_HOST_H_ 6 #define CHROME_BROWSER_ANDROID_WEBAPK_CHROME_WEBAPK_HOST_H_
7 7
8 #include <jni.h>
9
8 #include "base/macros.h" 10 #include "base/macros.h"
9 11
10 // ChromeWebApkHost is the C++ counterpart of org.chromium.chrome.browser's 12 // ChromeWebApkHost is the C++ counterpart of org.chromium.chrome.browser's
11 // ChromeWebApkHost in Java. 13 // ChromeWebApkHost in Java.
12 class ChromeWebApkHost { 14 class ChromeWebApkHost {
13 public: 15 public:
16 // Registers JNI hooks.
17 static bool Register(JNIEnv* env);
18
14 // Returns whether the "enalbe-webapk" is turned on. 19 // Returns whether the "enalbe-webapk" is turned on.
15 static bool AreWebApkEnabled(); 20 static bool AreWebApkEnabled();
16 21
17 private: 22 private:
18 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeWebApkHost); 23 DISALLOW_IMPLICIT_CONSTRUCTORS(ChromeWebApkHost);
19 }; 24 };
20 25
21 #endif // CHROME_BROWSER_ANDROID_WEBAPK_CHROME_WEBAPK_HOST_H_ 26 #endif // CHROME_BROWSER_ANDROID_WEBAPK_CHROME_WEBAPK_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/chrome_jni_registrar.cc ('k') | chrome/browser/android/webapk/chrome_webapk_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698