| Index: chrome/browser/browser_init.cc
|
| diff --git a/chrome/browser/browser_init.cc b/chrome/browser/browser_init.cc
|
| index fdb85eaac972d4d384ee302da99c2984ce68dacc..cabf1423052d438915ea03e0e787c6a5bf23df2a 100644
|
| --- a/chrome/browser/browser_init.cc
|
| +++ b/chrome/browser/browser_init.cc
|
| @@ -697,16 +697,6 @@ bool BrowserInit::ProcessCmdLineImpl(const CommandLine& command_line,
|
| static_cast<size_t>(expected_tab_count));
|
| }
|
|
|
| - // Extension should be loaded from path which is specified by flag
|
| - // |kLoadExtension| once and only when the browser process is starting up.
|
| - if (command_line.HasSwitch(switches::kLoadExtension)) {
|
| - std::wstring path_string =
|
| - command_line.GetSwitchValue(switches::kLoadExtension);
|
| - FilePath path = FilePath::FromWStringHack(path_string);
|
| - profile->GetExtensionsService()->LoadExtension(path);
|
| - profile->GetUserScriptMaster()->AddWatchedPath(path);
|
| - }
|
| -
|
| if (command_line.HasSwitch(switches::kPackExtension)) {
|
| // Input Paths.
|
| FilePath src_dir = FilePath::FromWStringHack(command_line.GetSwitchValue(
|
|
|