| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/views/clear_browsing_data.h" | 5 #include "chrome/browser/views/clear_browsing_data.h" |
| 6 | 6 |
| 7 #include "chrome/app/locales/locale_settings.h" | 7 #include "chrome/app/locales/locale_settings.h" |
| 8 #include "chrome/browser/profile.h" | 8 #include "chrome/browser/profile.h" |
| 9 #include "chrome/browser/template_url_model.h" | 9 #include "chrome/browser/search_engines/template_url_model.h" |
| 10 #include "chrome/browser/views/standard_layout.h" | 10 #include "chrome/browser/views/standard_layout.h" |
| 11 #include "chrome/common/l10n_util.h" | 11 #include "chrome/common/l10n_util.h" |
| 12 #include "chrome/views/background.h" | 12 #include "chrome/views/background.h" |
| 13 #include "chrome/views/checkbox.h" | 13 #include "chrome/views/checkbox.h" |
| 14 #include "chrome/views/label.h" | 14 #include "chrome/views/label.h" |
| 15 #include "chrome/views/native_button.h" | 15 #include "chrome/views/native_button.h" |
| 16 #include "chrome/views/throbber.h" | 16 #include "chrome/views/throbber.h" |
| 17 #include "chrome/views/window.h" | 17 #include "chrome/views/window.h" |
| 18 #include "chrome/common/pref_names.h" | 18 #include "chrome/common/pref_names.h" |
| 19 #include "chrome/common/pref_service.h" | 19 #include "chrome/common/pref_service.h" |
| (...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 435 remover_->AddObserver(this); | 435 remover_->AddObserver(this); |
| 436 remover_->Remove(remove_mask); | 436 remover_->Remove(remove_mask); |
| 437 } | 437 } |
| 438 | 438 |
| 439 void ClearBrowsingDataView::OnBrowsingDataRemoverDone() { | 439 void ClearBrowsingDataView::OnBrowsingDataRemoverDone() { |
| 440 // No need to remove ourselves as an observer as BrowsingDataRemover deletes | 440 // No need to remove ourselves as an observer as BrowsingDataRemover deletes |
| 441 // itself after we return. | 441 // itself after we return. |
| 442 remover_ = NULL; | 442 remover_ = NULL; |
| 443 window()->Close(); | 443 window()->Close(); |
| 444 } | 444 } |
| OLD | NEW |