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

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

Issue 449643002: Componentize component_updater: Move over a bunch of files to the component. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add more checked casts Created 6 years, 4 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 | Annotate | Revision Log
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_TEST_INSTALLER_H_ 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ 6 #define CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "chrome/browser/component_updater/component_updater_service.h" 12 #include "components/component_updater/component_updater_service.h"
13 13
14 namespace base { 14 namespace base {
15 class DictionaryValue; 15 class DictionaryValue;
16 } 16 }
17 17
18 namespace component_updater { 18 namespace component_updater {
19 19
20 // A TestInstaller is an installer that does nothing for installation except 20 // A TestInstaller is an installer that does nothing for installation except
21 // increment a counter. 21 // increment a counter.
22 class TestInstaller : public ComponentInstaller { 22 class TestInstaller : public ComponentInstaller {
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 base::FilePath* installed_file) OVERRIDE; 70 base::FilePath* installed_file) OVERRIDE;
71 71
72 private: 72 private:
73 base::FilePath install_directory_; 73 base::FilePath install_directory_;
74 Version current_version_; 74 Version current_version_;
75 }; 75 };
76 76
77 } // namespace component_updater 77 } // namespace component_updater
78 78
79 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_ 79 #endif // CHROME_BROWSER_COMPONENT_UPDATER_TEST_TEST_INSTALLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698