| 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_STARTUP_HELPER_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
| 10 #include "chrome/browser/extensions/pack_extension_job.h" | 10 #include "chrome/browser/extensions/pack_extension_job.h" |
| 11 | 11 |
| 12 class Profile; | |
| 13 | |
| 14 namespace base { | 12 namespace base { |
| 15 class CommandLine; | 13 class CommandLine; |
| 16 } | 14 } |
| 17 | 15 |
| 18 namespace extensions { | 16 namespace extensions { |
| 19 | 17 |
| 20 // Initialization helpers for various Extension startup actions. | 18 // Initialization helpers for various Extension startup actions. |
| 21 class StartupHelper : public PackExtensionJob::Client { | 19 class StartupHelper : public PackExtensionJob::Client { |
| 22 public: | 20 public: |
| 23 StartupHelper(); | 21 StartupHelper(); |
| (...skipping 17 matching lines...) Expand all Loading... |
| 41 private: | 39 private: |
| 42 scoped_refptr<PackExtensionJob> pack_job_; | 40 scoped_refptr<PackExtensionJob> pack_job_; |
| 43 bool pack_job_succeeded_; | 41 bool pack_job_succeeded_; |
| 44 | 42 |
| 45 DISALLOW_COPY_AND_ASSIGN(StartupHelper); | 43 DISALLOW_COPY_AND_ASSIGN(StartupHelper); |
| 46 }; | 44 }; |
| 47 | 45 |
| 48 } // namespace extensions | 46 } // namespace extensions |
| 49 | 47 |
| 50 #endif // CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_ | 48 #endif // CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_ |
| OLD | NEW |