| OLD | NEW |
| 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_UNPACKED_INSTALLER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include <string> | 9 #include <string> |
| 9 #include <vector> | 10 #include <vector> |
| 10 | 11 |
| 11 #include "base/bind.h" | 12 #include "base/bind.h" |
| 12 #include "base/files/file_path.h" | 13 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" | 14 #include "base/macros.h" |
| 14 #include "base/memory/ref_counted.h" | 15 #include "base/memory/ref_counted.h" |
| 15 #include "base/memory/scoped_ptr.h" | |
| 16 #include "base/memory/weak_ptr.h" | 16 #include "base/memory/weak_ptr.h" |
| 17 #include "chrome/browser/extensions/extension_install_checker.h" | 17 #include "chrome/browser/extensions/extension_install_checker.h" |
| 18 | 18 |
| 19 class ExtensionService; | 19 class ExtensionService; |
| 20 | 20 |
| 21 namespace extensions { | 21 namespace extensions { |
| 22 | 22 |
| 23 class Extension; | 23 class Extension; |
| 24 | 24 |
| 25 // Installs and loads an unpacked extension. Because internal state needs to be | 25 // Installs and loads an unpacked extension. Because internal state needs to be |
| (...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ExtensionInstallChecker install_checker_; | 140 ExtensionInstallChecker install_checker_; |
| 141 | 141 |
| 142 CompletionCallback callback_; | 142 CompletionCallback callback_; |
| 143 | 143 |
| 144 DISALLOW_COPY_AND_ASSIGN(UnpackedInstaller); | 144 DISALLOW_COPY_AND_ASSIGN(UnpackedInstaller); |
| 145 }; | 145 }; |
| 146 | 146 |
| 147 } // namespace extensions | 147 } // namespace extensions |
| 148 | 148 |
| 149 #endif // CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ | 149 #endif // CHROME_BROWSER_EXTENSIONS_UNPACKED_INSTALLER_H_ |
| OLD | NEW |