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_EXTENSIONS_STARTUP_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_ |
7 #pragma once | |
8 | 7 |
9 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
10 #include "chrome/browser/extensions/pack_extension_job.h" | 9 #include "chrome/browser/extensions/pack_extension_job.h" |
11 | 10 |
12 class CommandLine; | 11 class CommandLine; |
13 class Profile; | 12 class Profile; |
14 | 13 |
15 // Initialization helpers for various Extension startup actions. | 14 // Initialization helpers for various Extension startup actions. |
16 class ExtensionsStartupUtil : public PackExtensionJob::Client { | 15 class ExtensionsStartupUtil : public PackExtensionJob::Client { |
17 public: | 16 public: |
(...skipping 15 matching lines...) Expand all Loading... |
33 bool UninstallExtension(const CommandLine& cmd_line, Profile* profile); | 32 bool UninstallExtension(const CommandLine& cmd_line, Profile* profile); |
34 | 33 |
35 private: | 34 private: |
36 scoped_refptr<PackExtensionJob> pack_job_; | 35 scoped_refptr<PackExtensionJob> pack_job_; |
37 bool pack_job_succeeded_; | 36 bool pack_job_succeeded_; |
38 | 37 |
39 DISALLOW_COPY_AND_ASSIGN(ExtensionsStartupUtil); | 38 DISALLOW_COPY_AND_ASSIGN(ExtensionsStartupUtil); |
40 }; | 39 }; |
41 | 40 |
42 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_ | 41 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_ |
OLD | NEW |