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

Side by Side Diff: chrome/browser/extensions/tab_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/tab_helper.h" 5 #include "chrome/browser/extensions/tab_helper.h"
6 6
7 #include "chrome/browser/extensions/activity_log.h" 7 #include "chrome/browser/extensions/activity_log.h"
8 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h" 8 #include "chrome/browser/extensions/api/declarative/rules_registry_service.h"
9 #include "chrome/browser/extensions/api/declarative_content/content_rules_regist ry.h" 9 #include "chrome/browser/extensions/api/declarative_content/content_rules_regist ry.h"
10 #include "chrome/browser/extensions/crx_installer.h" 10 #include "chrome/browser/extensions/crx_installer.h"
(...skipping 434 matching lines...) Expand 10 before | Expand all | Expand 10 after
445 NavigationEntry* entry = controller.GetLastCommittedEntry(); 445 NavigationEntry* entry = controller.GetLastCommittedEntry();
446 if (entry) 446 if (entry)
447 GetApplicationInfo(entry->GetPageID()); 447 GetApplicationInfo(entry->GetPageID());
448 else 448 else
449 pending_web_app_action_ = NONE; 449 pending_web_app_action_ = NONE;
450 } 450 }
451 break; 451 break;
452 } 452 }
453 453
454 case chrome::NOTIFICATION_EXTENSION_UNLOADED: { 454 case chrome::NOTIFICATION_EXTENSION_UNLOADED: {
455 if (script_bubble_controller_.get()) { 455 if (script_bubble_controller_) {
456 script_bubble_controller_->OnExtensionUnloaded( 456 script_bubble_controller_->OnExtensionUnloaded(
457 content::Details<extensions::UnloadedExtensionInfo>( 457 content::Details<extensions::UnloadedExtensionInfo>(
458 details)->extension->id()); 458 details)->extension->id());
459 break; 459 break;
460 } 460 }
461 } 461 }
462 } 462 }
463 } 463 }
464 464
465 } // namespace extensions 465 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/startup_helper.cc ('k') | chrome/browser/extensions/test_extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698