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

Side by Side Diff: chrome/browser/component_updater/test/component_updater_service_unittest.h

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITTEST _H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 22 matching lines...) Expand all
33 class ComponentUpdaterTest : public testing::Test { 33 class ComponentUpdaterTest : public testing::Test {
34 public: 34 public:
35 enum TestComponents { 35 enum TestComponents {
36 kTestComponent_abag, 36 kTestComponent_abag,
37 kTestComponent_jebg, 37 kTestComponent_jebg,
38 kTestComponent_ihfo, 38 kTestComponent_ihfo,
39 }; 39 };
40 40
41 ComponentUpdaterTest(); 41 ComponentUpdaterTest();
42 42
43 virtual ~ComponentUpdaterTest(); 43 ~ComponentUpdaterTest() override;
44 44
45 virtual void SetUp(); 45 void SetUp() override;
46 46
47 virtual void TearDown(); 47 void TearDown() override;
48 48
49 ComponentUpdateService* component_updater(); 49 ComponentUpdateService* component_updater();
50 50
51 // Makes the full path to a component updater test file. 51 // Makes the full path to a component updater test file.
52 const base::FilePath test_file(const char* file); 52 const base::FilePath test_file(const char* file);
53 53
54 TestConfigurator* test_configurator(); 54 TestConfigurator* test_configurator();
55 55
56 ComponentUpdateService::Status RegisterComponent(CrxComponent* com, 56 ComponentUpdateService::Status RegisterComponent(CrxComponent* com,
57 TestComponents component, 57 TestComponents component,
(...skipping 28 matching lines...) Expand all
86 class OnDemandTester { 86 class OnDemandTester {
87 public: 87 public:
88 static ComponentUpdateService::Status OnDemand( 88 static ComponentUpdateService::Status OnDemand(
89 ComponentUpdateService* cus, 89 ComponentUpdateService* cus,
90 const std::string& component_id); 90 const std::string& component_id);
91 }; 91 };
92 92
93 } // namespace component_updater 93 } // namespace component_updater
94 94
95 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITT EST_H_ 95 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_COMPONENT_UPDATER_SERVICE_UNITT EST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698