Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2015 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_WEBAPPS_WEBAPP_REGISTRY_H_ | |
| 6 #define CHROME_BROWSER_ANDROID_WEBAPPS_WEBAPP_REGISTRY_H_ | |
| 7 | |
| 8 #include "base/android/jni_android.h" | |
| 9 #include "base/android/scoped_java_ref.h" | |
| 10 #include "base/callback_forward.h" | |
| 11 | |
| 12 // WebappRegistry is the C++ counterpart of | |
| 13 // org.chromium.chrome.browser.webapp's WebappRegistry in Java. | |
| 14 class WebappRegistry { | |
| 15 public: | |
| 16 // Registers JNI hooks. | |
| 17 static bool RegisterWebappRegistry(JNIEnv* env); | |
| 18 | |
| 19 // Cleans up data stored by webapps. | |
|
gone
2015/09/09 23:30:40
nit: webapps web app yadda yadda
Lalit Maganti
2015/09/10 09:41:58
Done.
| |
| 20 static void UnregisterWebapps(const base::Closure& callback); | |
| 21 | |
| 22 private: | |
| 23 WebappRegistry() = delete; | |
|
Bernhard Bauer
2015/09/10 09:46:24
DISALLOW_IMPLICIT_CONSTRUCTORS will do this (inclu
Lalit Maganti
2015/09/10 10:01:38
Done.
| |
| 24 ~WebappRegistry() = delete; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(WebappRegistry); | |
| 27 }; | |
| 28 | |
| 29 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_WEBAPP_REGISTRY_H_ | |
| OLD | NEW |