| Index: chrome/browser/extensions/startup_helper.h
|
| diff --git a/chrome/browser/extensions/extensions_startup.h b/chrome/browser/extensions/startup_helper.h
|
| similarity index 67%
|
| rename from chrome/browser/extensions/extensions_startup.h
|
| rename to chrome/browser/extensions/startup_helper.h
|
| index ba2d3752a671425ab4bdecc09a76046a2cf74c15..f4aedc4837902e0999a42de80dd6d278fc70580b 100644
|
| --- a/chrome/browser/extensions/extensions_startup.h
|
| +++ b/chrome/browser/extensions/startup_helper.h
|
| @@ -2,8 +2,8 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_
|
| -#define CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_
|
| +#ifndef CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_
|
| +#define CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_
|
|
|
| #include "base/memory/ref_counted.h"
|
| #include "chrome/browser/extensions/pack_extension_job.h"
|
| @@ -11,17 +11,18 @@
|
| class CommandLine;
|
| class Profile;
|
|
|
| +namespace extensions {
|
| +
|
| // Initialization helpers for various Extension startup actions.
|
| -class ExtensionsStartupUtil : public PackExtensionJob::Client {
|
| +class StartupHelper : public PackExtensionJob::Client {
|
| public:
|
| - ExtensionsStartupUtil();
|
| - virtual ~ExtensionsStartupUtil();
|
| + StartupHelper();
|
| + virtual ~StartupHelper();
|
|
|
| virtual void OnPackSuccess(const FilePath& crx_path,
|
| const FilePath& output_private_key_path) OVERRIDE;
|
| - virtual void OnPackFailure(
|
| - const std::string& error_message,
|
| - extensions::ExtensionCreator::ErrorType type) OVERRIDE;
|
| + virtual void OnPackFailure(const std::string& error_message,
|
| + ExtensionCreator::ErrorType type) OVERRIDE;
|
|
|
| // Handle --pack-extension flag from the |cmd_line| by packing the specified
|
| // extension. Returns false if the pack job failed.
|
| @@ -36,7 +37,9 @@ class ExtensionsStartupUtil : public PackExtensionJob::Client {
|
| scoped_refptr<PackExtensionJob> pack_job_;
|
| bool pack_job_succeeded_;
|
|
|
| - DISALLOW_COPY_AND_ASSIGN(ExtensionsStartupUtil);
|
| + DISALLOW_COPY_AND_ASSIGN(StartupHelper);
|
| };
|
|
|
| -#endif // CHROME_BROWSER_EXTENSIONS_EXTENSIONS_STARTUP_H_
|
| +} // namespace extensions
|
| +
|
| +#endif // CHROME_BROWSER_EXTENSIONS_STARTUP_HELPER_H_
|
|
|