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 #include "chrome/browser/extensions/startup_helper.h" | 5 #include "chrome/browser/extensions/startup_helper.h" |
6 | 6 |
| 7 #include "base/command_line.h" |
7 #include "base/string_util.h" | 8 #include "base/string_util.h" |
8 #include "base/stringprintf.h" | 9 #include "base/stringprintf.h" |
9 #include "base/utf_string_conversions.h" | 10 #include "base/utf_string_conversions.h" |
10 #include "chrome/browser/extensions/extension_service.h" | 11 #include "chrome/browser/extensions/extension_service.h" |
11 #include "chrome/browser/profiles/profile.h" | 12 #include "chrome/browser/profiles/profile.h" |
12 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
13 | 14 |
14 namespace { | 15 namespace { |
15 | 16 |
16 void PrintPackExtensionMessage(const std::string& message) { | 17 void PrintPackExtensionMessage(const std::string& message) { |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 return ExtensionService::UninstallExtensionHelper(extension_service, | 75 return ExtensionService::UninstallExtensionHelper(extension_service, |
75 extension_id); | 76 extension_id); |
76 } | 77 } |
77 | 78 |
78 StartupHelper::~StartupHelper() { | 79 StartupHelper::~StartupHelper() { |
79 if (pack_job_.get()) | 80 if (pack_job_.get()) |
80 pack_job_->ClearClient(); | 81 pack_job_->ClearClient(); |
81 } | 82 } |
82 | 83 |
83 } // namespace extensions | 84 } // namespace extensions |
OLD | NEW |