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

Side by Side Diff: webkit/appcache/appcache_quota_client.h

Issue 8539047: Add OVERRIDE to webkit/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « webkit/appcache/appcache_interceptor.h ('k') | webkit/appcache/appcache_response.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 WEBKIT_APPCACHE_APPCACHE_QUOTA_CLIENT_H_ 5 #ifndef WEBKIT_APPCACHE_APPCACHE_QUOTA_CLIENT_H_
6 #define WEBKIT_APPCACHE_APPCACHE_QUOTA_CLIENT_H_ 6 #define WEBKIT_APPCACHE_APPCACHE_QUOTA_CLIENT_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 20 matching lines...) Expand all
31 // itself when both the quota manager and the appcache service have 31 // itself when both the quota manager and the appcache service have
32 // been destroyed. 32 // been destroyed.
33 class AppCacheQuotaClient : public quota::QuotaClient { 33 class AppCacheQuotaClient : public quota::QuotaClient {
34 public: 34 public:
35 typedef std::deque<base::Closure> RequestQueue; 35 typedef std::deque<base::Closure> RequestQueue;
36 36
37 virtual ~AppCacheQuotaClient(); 37 virtual ~AppCacheQuotaClient();
38 38
39 // QuotaClient method overrides 39 // QuotaClient method overrides
40 virtual ID id() const OVERRIDE; 40 virtual ID id() const OVERRIDE;
41 virtual void OnQuotaManagerDestroyed(); 41 virtual void OnQuotaManagerDestroyed() OVERRIDE;
42 virtual void GetOriginUsage(const GURL& origin, 42 virtual void GetOriginUsage(const GURL& origin,
43 quota::StorageType type, 43 quota::StorageType type,
44 const GetUsageCallback& callback) OVERRIDE; 44 const GetUsageCallback& callback) OVERRIDE;
45 virtual void GetOriginsForType(quota::StorageType type, 45 virtual void GetOriginsForType(quota::StorageType type,
46 const GetOriginsCallback& callback) OVERRIDE; 46 const GetOriginsCallback& callback) OVERRIDE;
47 virtual void GetOriginsForHost(quota::StorageType type, 47 virtual void GetOriginsForHost(quota::StorageType type,
48 const std::string& host, 48 const std::string& host,
49 const GetOriginsCallback& callback) OVERRIDE; 49 const GetOriginsCallback& callback) OVERRIDE;
50 virtual void DeleteOriginData(const GURL& origin, 50 virtual void DeleteOriginData(const GURL& origin,
51 quota::StorageType type, 51 quota::StorageType type,
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 AppCacheService* service_; 84 AppCacheService* service_;
85 bool appcache_is_ready_; 85 bool appcache_is_ready_;
86 bool quota_manager_is_destroyed_; 86 bool quota_manager_is_destroyed_;
87 87
88 DISALLOW_COPY_AND_ASSIGN(AppCacheQuotaClient); 88 DISALLOW_COPY_AND_ASSIGN(AppCacheQuotaClient);
89 }; 89 };
90 90
91 } // namespace appcache 91 } // namespace appcache
92 92
93 #endif // WEBKIT_APPCACHE_APPCACHE_QUOTA_CLIENT_H_ 93 #endif // WEBKIT_APPCACHE_APPCACHE_QUOTA_CLIENT_H_
OLDNEW
« no previous file with comments | « webkit/appcache/appcache_interceptor.h ('k') | webkit/appcache/appcache_response.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698