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

Side by Side Diff: chrome/browser/extensions/extension_prefs_unittest.h

Issue 624153002: replace OVERRIDE and FINAL with override and final in chrome/browser/extensions/ (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 (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_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_
7 7
8 #include "base/message_loop/message_loop.h" 8 #include "base/message_loop/message_loop.h"
9 #include "chrome/browser/extensions/test_extension_prefs.h" 9 #include "chrome/browser/extensions/test_extension_prefs.h"
10 #include "content/public/test/test_browser_thread.h" 10 #include "content/public/test/test_browser_thread.h"
(...skipping 21 matching lines...) Expand all
32 virtual void Initialize() = 0; 32 virtual void Initialize() = 0;
33 33
34 // This function will be called twice - once while the original ExtensionPrefs 34 // This function will be called twice - once while the original ExtensionPrefs
35 // object is still alive, and once after recreation. Thus, it tests that 35 // object is still alive, and once after recreation. Thus, it tests that
36 // things don't break after any ExtensionPrefs startup work. 36 // things don't break after any ExtensionPrefs startup work.
37 virtual void Verify() = 0; 37 virtual void Verify() = 0;
38 38
39 // This function is called to Register preference default values. 39 // This function is called to Register preference default values.
40 virtual void RegisterPreferences(user_prefs::PrefRegistrySyncable* registry); 40 virtual void RegisterPreferences(user_prefs::PrefRegistrySyncable* registry);
41 41
42 virtual void SetUp() OVERRIDE; 42 virtual void SetUp() override;
43 43
44 virtual void TearDown() OVERRIDE; 44 virtual void TearDown() override;
45 45
46 protected: 46 protected:
47 ExtensionPrefs* prefs() { return prefs_.prefs(); } 47 ExtensionPrefs* prefs() { return prefs_.prefs(); }
48 48
49 base::MessageLoop message_loop_; 49 base::MessageLoop message_loop_;
50 content::TestBrowserThread ui_thread_; 50 content::TestBrowserThread ui_thread_;
51 51
52 TestExtensionPrefs prefs_; 52 TestExtensionPrefs prefs_;
53 53
54 private: 54 private:
(...skipping 21 matching lines...) Expand all
76 scoped_refptr<Extension> extension3_; 76 scoped_refptr<Extension> extension3_;
77 scoped_refptr<Extension> extension4_; 77 scoped_refptr<Extension> extension4_;
78 78
79 private: 79 private:
80 DISALLOW_COPY_AND_ASSIGN(PrefsPrepopulatedTestBase); 80 DISALLOW_COPY_AND_ASSIGN(PrefsPrepopulatedTestBase);
81 }; 81 };
82 82
83 } // namespace extensions 83 } // namespace extensions
84 84
85 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_ 85 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PREFS_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_notification_observer.h ('k') | chrome/browser/extensions/extension_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698