Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(225)

Side by Side Diff: chrome/browser/extensions/startup_helper.cc

Issue 13949011: Cleanup: Remove unnecessary ".get()" from scoped_ptrs<>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW
« no previous file with comments | « chrome/browser/extensions/sandboxed_unpacker.cc ('k') | chrome/browser/extensions/tab_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698