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

Side by Side Diff: android_webview/native/aw_quota_manager_bridge_impl.h

Issue 893343002: Update {virtual,override,final} to follow C++11 style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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
« no previous file with comments | « android_webview/native/aw_pdf_exporter.h ('k') | android_webview/native/aw_settings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ 5 #ifndef ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_
6 #define ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ 6 #define ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 49
50 typedef base::Callback< 50 typedef base::Callback<
51 void(const std::vector<std::string>& /* origin */, 51 void(const std::vector<std::string>& /* origin */,
52 const std::vector<int64>& /* usage */, 52 const std::vector<int64>& /* usage */,
53 const std::vector<int64>& /* quota */)> GetOriginsCallback; 53 const std::vector<int64>& /* quota */)> GetOriginsCallback;
54 typedef base::Callback<void(int64 /* usage */, 54 typedef base::Callback<void(int64 /* usage */,
55 int64 /* quota */)> QuotaUsageCallback; 55 int64 /* quota */)> QuotaUsageCallback;
56 56
57 private: 57 private:
58 explicit AwQuotaManagerBridgeImpl(AwBrowserContext* browser_context); 58 explicit AwQuotaManagerBridgeImpl(AwBrowserContext* browser_context);
59 virtual ~AwQuotaManagerBridgeImpl(); 59 ~AwQuotaManagerBridgeImpl() override;
60 60
61 content::StoragePartition* GetStoragePartition() const; 61 content::StoragePartition* GetStoragePartition() const;
62 62
63 storage::QuotaManager* GetQuotaManager() const; 63 storage::QuotaManager* GetQuotaManager() const;
64 64
65 void DeleteAllDataOnUiThread(); 65 void DeleteAllDataOnUiThread();
66 void DeleteOriginOnUiThread(const base::string16& origin); 66 void DeleteOriginOnUiThread(const base::string16& origin);
67 void GetOriginsOnUiThread(jint callback_id); 67 void GetOriginsOnUiThread(jint callback_id);
68 void GetUsageAndQuotaForOriginOnUiThread(const base::string16& origin, 68 void GetUsageAndQuotaForOriginOnUiThread(const base::string16& origin,
69 jint callback_id, 69 jint callback_id,
(...skipping 13 matching lines...) Expand all
83 base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_; 83 base::WeakPtrFactory<AwQuotaManagerBridgeImpl> weak_factory_;
84 84
85 DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl); 85 DISALLOW_COPY_AND_ASSIGN(AwQuotaManagerBridgeImpl);
86 }; 86 };
87 87
88 bool RegisterAwQuotaManagerBridge(JNIEnv* env); 88 bool RegisterAwQuotaManagerBridge(JNIEnv* env);
89 89
90 } // namespace android_webview 90 } // namespace android_webview
91 91
92 #endif // ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_ 92 #endif // ANDROID_WEBVIEW_NATIVE_AW_QUOTA_MANAGER_BRIDGE_IMPL_H_
OLDNEW
« no previous file with comments | « android_webview/native/aw_pdf_exporter.h ('k') | android_webview/native/aw_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698