| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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/clear_browsing_data_controller.h" | 5 #import "chrome/browser/ui/cocoa/clear_browsing_data_controller.h" |
| 6 | 6 |
| 7 #include "app/l10n_util.h" | 7 #include "app/l10n_util.h" |
| 8 #include "base/mac_util.h" | 8 #include "base/mac_util.h" |
| 9 #include "base/scoped_nsobject.h" | 9 #include "base/scoped_nsobject.h" |
| 10 #include "base/singleton.h" | 10 #include "base/singleton.h" |
| 11 #include "chrome/browser/browsing_data_remover.h" | 11 #include "chrome/browser/browsing_data_remover.h" |
| 12 #include "chrome/browser/prefs/pref_service.h" | 12 #include "chrome/browser/prefs/pref_service.h" |
| 13 #include "chrome/browser/profile.h" | 13 #include "chrome/browser/profiles/profile.h" |
| 14 #include "chrome/browser/ui/browser.h" | 14 #include "chrome/browser/ui/browser.h" |
| 15 #include "chrome/browser/ui/browser_window.h" | 15 #include "chrome/browser/ui/browser_window.h" |
| 16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
| 17 #include "grit/locale_settings.h" | 17 #include "grit/locale_settings.h" |
| 18 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" | 18 #import "third_party/GTM/AppKit/GTMUILocalizerAndLayoutTweaker.h" |
| 19 | 19 |
| 20 NSString* const kClearBrowsingDataControllerDidDelete = | 20 NSString* const kClearBrowsingDataControllerDidDelete = |
| 21 @"kClearBrowsingDataControllerDidDelete"; | 21 @"kClearBrowsingDataControllerDidDelete"; |
| 22 NSString* const kClearBrowsingDataControllerRemoveMask = | 22 NSString* const kClearBrowsingDataControllerRemoveMask = |
| 23 @"kClearBrowsingDataControllerRemoveMask"; | 23 @"kClearBrowsingDataControllerRemoveMask"; |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 object:self | 255 object:self |
| 256 userInfo:userInfo]; | 256 userInfo:userInfo]; |
| 257 | 257 |
| 258 [self closeDialog]; | 258 [self closeDialog]; |
| 259 [[self window] orderOut:self]; | 259 [[self window] orderOut:self]; |
| 260 [self setIsClearing:NO]; | 260 [self setIsClearing:NO]; |
| 261 remover_ = NULL; | 261 remover_ = NULL; |
| 262 } | 262 } |
| 263 | 263 |
| 264 @end | 264 @end |
| OLD | NEW |