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

Side by Side Diff: chrome/browser/browsing_data/browsing_data_remover_test_util.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 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 CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_TEST_UTIL_H_ 5 #ifndef CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_TEST_UTIL_H_
6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_TEST_UTIL_H_ 6 #define CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_TEST_UTIL_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "chrome/browser/browsing_data/browsing_data_remover.h" 10 #include "chrome/browser/browsing_data/browsing_data_remover.h"
11 #include "content/public/test/test_utils.h" 11 #include "content/public/test/test_utils.h"
12 12
13 class BrowsingDataRemoverCompletionObserver 13 class BrowsingDataRemoverCompletionObserver
14 : public BrowsingDataRemover::Observer { 14 : public BrowsingDataRemover::Observer {
15 public: 15 public:
16 explicit BrowsingDataRemoverCompletionObserver(BrowsingDataRemover* remover); 16 explicit BrowsingDataRemoverCompletionObserver(BrowsingDataRemover* remover);
17 virtual ~BrowsingDataRemoverCompletionObserver(); 17 virtual ~BrowsingDataRemoverCompletionObserver();
18 18
19 void BlockUntilCompletion(); 19 void BlockUntilCompletion();
20 20
21 protected: 21 protected:
22 // BrowsingDataRemover::Observer: 22 // BrowsingDataRemover::Observer:
23 virtual void OnBrowsingDataRemoverDone() OVERRIDE; 23 virtual void OnBrowsingDataRemoverDone() override;
24 24
25 private: 25 private:
26 scoped_refptr<content::MessageLoopRunner> message_loop_runner_; 26 scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
27 27
28 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemoverCompletionObserver); 28 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemoverCompletionObserver);
29 }; 29 };
30 30
31 class BrowsingDataRemoverCompletionInhibitor 31 class BrowsingDataRemoverCompletionInhibitor
32 : public BrowsingDataRemover::CompletionInhibitor { 32 : public BrowsingDataRemover::CompletionInhibitor {
33 public: 33 public:
34 BrowsingDataRemoverCompletionInhibitor(); 34 BrowsingDataRemoverCompletionInhibitor();
35 virtual ~BrowsingDataRemoverCompletionInhibitor(); 35 virtual ~BrowsingDataRemoverCompletionInhibitor();
36 36
37 void BlockUntilNearCompletion(); 37 void BlockUntilNearCompletion();
38 void ContinueToCompletion(); 38 void ContinueToCompletion();
39 39
40 protected: 40 protected:
41 // BrowsingDataRemover::CompletionInhibitor: 41 // BrowsingDataRemover::CompletionInhibitor:
42 virtual void OnBrowsingDataRemoverWouldComplete( 42 virtual void OnBrowsingDataRemoverWouldComplete(
43 BrowsingDataRemover* remover, 43 BrowsingDataRemover* remover,
44 const base::Closure& continue_to_completion) OVERRIDE; 44 const base::Closure& continue_to_completion) override;
45 45
46 private: 46 private:
47 scoped_refptr<content::MessageLoopRunner> message_loop_runner_; 47 scoped_refptr<content::MessageLoopRunner> message_loop_runner_;
48 base::Closure continue_to_completion_callback_; 48 base::Closure continue_to_completion_callback_;
49 49
50 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemoverCompletionInhibitor); 50 DISALLOW_COPY_AND_ASSIGN(BrowsingDataRemoverCompletionInhibitor);
51 }; 51 };
52 52
53 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_TEST_UTIL_H_ 53 #endif // CHROME_BROWSER_BROWSING_DATA_BROWSING_DATA_REMOVER_TEST_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698