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

Side by Side Diff: chrome/browser/browsing_data/mock_browsing_data_quota_helper.h

Issue 625113002: replace OVERRIDE and FINAL with override and final in chrome/browser/[a-i]* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix newly added OVERRIDEs 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_QUOTA_HELPER_H_
6 #define CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_QUOTA_HELPER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "chrome/browser/browsing_data/browsing_data_quota_helper.h" 12 #include "chrome/browser/browsing_data/browsing_data_quota_helper.h"
13 13
14 class MockBrowsingDataQuotaHelper : public BrowsingDataQuotaHelper { 14 class MockBrowsingDataQuotaHelper : public BrowsingDataQuotaHelper {
15 public: 15 public:
16 explicit MockBrowsingDataQuotaHelper(Profile* profile); 16 explicit MockBrowsingDataQuotaHelper(Profile* profile);
17 17
18 virtual void StartFetching(const FetchResultCallback& callback) OVERRIDE; 18 virtual void StartFetching(const FetchResultCallback& callback) override;
19 virtual void RevokeHostQuota(const std::string& host) OVERRIDE; 19 virtual void RevokeHostQuota(const std::string& host) override;
20 20
21 void AddHost(const std::string& host, 21 void AddHost(const std::string& host,
22 int64 temporary_usage, 22 int64 temporary_usage,
23 int64 persistent_usage, 23 int64 persistent_usage,
24 int64 syncable_usage); 24 int64 syncable_usage);
25 void AddQuotaSamples(); 25 void AddQuotaSamples();
26 void Notify(); 26 void Notify();
27 27
28 private: 28 private:
29 virtual ~MockBrowsingDataQuotaHelper(); 29 virtual ~MockBrowsingDataQuotaHelper();
30 30
31 FetchResultCallback callback_; 31 FetchResultCallback callback_;
32 std::list<QuotaInfo> response_; 32 std::list<QuotaInfo> response_;
33 33
34 DISALLOW_COPY_AND_ASSIGN(MockBrowsingDataQuotaHelper); 34 DISALLOW_COPY_AND_ASSIGN(MockBrowsingDataQuotaHelper);
35 }; 35 };
36 36
37 #endif // CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_QUOTA_HELPER_H_ 37 #endif // CHROME_BROWSER_BROWSING_DATA_MOCK_BROWSING_DATA_QUOTA_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698