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

Side by Side Diff: chrome/browser/android/webapps/webapp_registry.h

Issue 1329083002: Clear webapp storage when site data is cleared (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add initial tests and fix compile Created 5 years, 3 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 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/callback_forward.h"
10
11 // WebappRegistry is the C++ counterpart of
12 // org.chromium.chrome.browser.webapp's WebappRegistry in Java.
13 class WebappRegistry {
14 public:
15 // Registers JNI hooks.
16 static bool RegisterWebappRegistry(JNIEnv* env);
17
gone 2015/09/08 20:38:13 DB thread or IO thread? Take your pick and rename
Lalit Maganti 2015/09/09 15:27:46 This has been redone to make use of AsyncTask so n
18 // Cleans up data stored by webapps. Must be called from the DB thread.
19 static void UnregisterWebappsOnIOThread(const base::Closure& callback);
20
21 private:
22 WebappRegistry() = delete;
23 ~WebappRegistry() = delete;
24
25 DISALLOW_COPY_AND_ASSIGN(WebappRegistry);
26 };
27
28 #endif // CHROME_BROWSER_ANDROID_WEBAPPS_WEBAPP_REGISTRY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698