OLD | NEW |
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_DEFAULT_COMPONENT_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ |
6 #define CHROME_BROWSER_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ | 6 #define CHROME_BROWSER_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "base/memory/scoped_ptr.h" | 13 #include "base/memory/scoped_ptr.h" |
14 #include "base/threading/thread_checker.h" | 14 #include "base/threading/thread_checker.h" |
| 15 #include "base/values.h" |
15 #include "base/version.h" | 16 #include "base/version.h" |
16 #include "chrome/browser/component_updater/component_updater_service.h" | 17 #include "chrome/browser/component_updater/component_updater_service.h" |
17 | 18 |
18 namespace base { | 19 namespace base { |
19 class DictionaryValue; | |
20 class FilePath; | 20 class FilePath; |
21 class SequencedTaskRunner; | 21 class SequencedTaskRunner; |
22 class SingleThreadTaskRunner; | 22 class SingleThreadTaskRunner; |
23 } // namespace base | 23 } // namespace base |
24 | 24 |
25 namespace component_updater { | 25 namespace component_updater { |
26 | 26 |
27 // Components should use a DefaultComponentInstaller by defining a class that | 27 // Components should use a DefaultComponentInstaller by defining a class that |
28 // implements the members of ComponentInstallerTraits, and then registering a | 28 // implements the members of ComponentInstallerTraits, and then registering a |
29 // DefaultComponentInstaller that has been constructed with an instance of that | 29 // DefaultComponentInstaller that has been constructed with an instance of that |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; | 114 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner_; |
115 | 115 |
116 base::ThreadChecker thread_checker_; | 116 base::ThreadChecker thread_checker_; |
117 | 117 |
118 DISALLOW_COPY_AND_ASSIGN(DefaultComponentInstaller); | 118 DISALLOW_COPY_AND_ASSIGN(DefaultComponentInstaller); |
119 }; | 119 }; |
120 | 120 |
121 } // namespace component_updater | 121 } // namespace component_updater |
122 | 122 |
123 #endif // CHROME_BROWSER_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ | 123 #endif // CHROME_BROWSER_COMPONENT_UPDATER_DEFAULT_COMPONENT_INSTALLER_H_ |
OLD | NEW |