| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #import "chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h" | 5 #import "chrome/browser/ui/cocoa/extensions/extension_action_context_menu.h" |
| 6 | 6 |
| 7 #include "base/sys_string_conversions.h" | 7 #include "base/sys_string_conversions.h" |
| 8 #include "base/task.h" | |
| 9 #include "chrome/browser/extensions/extension_service.h" | 8 #include "chrome/browser/extensions/extension_service.h" |
| 10 #include "chrome/browser/extensions/extension_tab_util.h" | 9 #include "chrome/browser/extensions/extension_tab_util.h" |
| 11 #include "chrome/browser/extensions/extension_uninstall_dialog.h" | 10 #include "chrome/browser/extensions/extension_uninstall_dialog.h" |
| 12 #include "chrome/browser/prefs/pref_change_registrar.h" | 11 #include "chrome/browser/prefs/pref_change_registrar.h" |
| 13 #include "chrome/browser/prefs/pref_service.h" | 12 #include "chrome/browser/prefs/pref_service.h" |
| 14 #include "chrome/browser/profiles/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 15 #include "chrome/browser/ui/browser_list.h" | 14 #include "chrome/browser/ui/browser_list.h" |
| 16 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" | 15 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" |
| 17 #include "chrome/browser/ui/cocoa/browser_window_controller.h" | 16 #include "chrome/browser/ui/cocoa/browser_window_controller.h" |
| 18 #include "chrome/browser/ui/cocoa/extensions/browser_actions_controller.h" | 17 #include "chrome/browser/ui/cocoa/extensions/browser_actions_controller.h" |
| (...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 328 } | 327 } |
| 329 return YES; | 328 return YES; |
| 330 } | 329 } |
| 331 | 330 |
| 332 - (void)invalidateProfile { | 331 - (void)invalidateProfile { |
| 333 observer_.reset(); | 332 observer_.reset(); |
| 334 profile_ = NULL; | 333 profile_ = NULL; |
| 335 } | 334 } |
| 336 | 335 |
| 337 @end | 336 @end |
| OLD | NEW |