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/bind.h" | 7 #include "base/bind.h" |
8 #include "base/bind_helpers.h" | 8 #include "base/bind_helpers.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
334 std::string id; | 334 std::string id; |
335 if (index == "1") { | 335 if (index == "1") { |
336 id = "nckgahadagoaajjgafhacjanaoiihapd"; | 336 id = "nckgahadagoaajjgafhacjanaoiihapd"; |
337 } else if (index == "2") { | 337 } else if (index == "2") { |
338 id = "ecglahbcnmdpdciemllbhojghbkagdje"; | 338 id = "ecglahbcnmdpdciemllbhojghbkagdje"; |
339 } | 339 } |
340 return id; | 340 return id; |
341 } | 341 } |
342 | 342 |
343 StartupHelper::~StartupHelper() { | 343 StartupHelper::~StartupHelper() { |
344 if (pack_job_.get()) | 344 if (pack_job_) |
345 pack_job_->ClearClient(); | 345 pack_job_->ClearClient(); |
346 } | 346 } |
347 | 347 |
348 } // namespace extensions | 348 } // namespace extensions |
OLD | NEW |