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

Side by Side Diff: content/public/test/mock_storage_client.h

Issue 629203002: Replace OVERRIDE and FINAL with override and final in content/public/[a-s]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_
6 #define CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ 6 #define CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const GURL& origin_url, StorageType type, int64 size); 46 const GURL& origin_url, StorageType type, int64 size);
47 void ModifyOriginAndNotify( 47 void ModifyOriginAndNotify(
48 const GURL& origin_url, StorageType type, int64 delta); 48 const GURL& origin_url, StorageType type, int64 delta);
49 void TouchAllOriginsAndNotify(); 49 void TouchAllOriginsAndNotify();
50 50
51 void AddOriginToErrorSet(const GURL& origin_url, StorageType type); 51 void AddOriginToErrorSet(const GURL& origin_url, StorageType type);
52 52
53 base::Time IncrementMockTime(); 53 base::Time IncrementMockTime();
54 54
55 // QuotaClient methods. 55 // QuotaClient methods.
56 virtual QuotaClient::ID id() const OVERRIDE; 56 virtual QuotaClient::ID id() const override;
57 virtual void OnQuotaManagerDestroyed() OVERRIDE; 57 virtual void OnQuotaManagerDestroyed() override;
58 virtual void GetOriginUsage(const GURL& origin_url, 58 virtual void GetOriginUsage(const GURL& origin_url,
59 StorageType type, 59 StorageType type,
60 const GetUsageCallback& callback) OVERRIDE; 60 const GetUsageCallback& callback) override;
61 virtual void GetOriginsForType(StorageType type, 61 virtual void GetOriginsForType(StorageType type,
62 const GetOriginsCallback& callback) OVERRIDE; 62 const GetOriginsCallback& callback) override;
63 virtual void GetOriginsForHost(StorageType type, const std::string& host, 63 virtual void GetOriginsForHost(StorageType type, const std::string& host,
64 const GetOriginsCallback& callback) OVERRIDE; 64 const GetOriginsCallback& callback) override;
65 virtual void DeleteOriginData(const GURL& origin, 65 virtual void DeleteOriginData(const GURL& origin,
66 StorageType type, 66 StorageType type,
67 const DeletionCallback& callback) OVERRIDE; 67 const DeletionCallback& callback) override;
68 virtual bool DoesSupport(storage::StorageType type) const OVERRIDE; 68 virtual bool DoesSupport(storage::StorageType type) const override;
69 69
70 private: 70 private:
71 void RunGetOriginUsage(const GURL& origin_url, 71 void RunGetOriginUsage(const GURL& origin_url,
72 StorageType type, 72 StorageType type,
73 const GetUsageCallback& callback); 73 const GetUsageCallback& callback);
74 void RunGetOriginsForType(StorageType type, 74 void RunGetOriginsForType(StorageType type,
75 const GetOriginsCallback& callback); 75 const GetOriginsCallback& callback);
76 void RunGetOriginsForHost(StorageType type, 76 void RunGetOriginsForHost(StorageType type,
77 const std::string& host, 77 const std::string& host,
78 const GetOriginsCallback& callback); 78 const GetOriginsCallback& callback);
(...skipping 14 matching lines...) Expand all
93 int mock_time_counter_; 93 int mock_time_counter_;
94 94
95 base::WeakPtrFactory<MockStorageClient> weak_factory_; 95 base::WeakPtrFactory<MockStorageClient> weak_factory_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(MockStorageClient); 97 DISALLOW_COPY_AND_ASSIGN(MockStorageClient);
98 }; 98 };
99 99
100 } // namespace content 100 } // namespace content
101 101
102 #endif // CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_ 102 #endif // CONTENT_PUBLIC_TEST_MOCK_STORAGE_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/test/mock_special_storage_policy.h ('k') | content/public/test/nested_message_pump_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698