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 "app/l10n_util.h" |
7 #include "chrome/browser/profile.h" | 8 #include "chrome/browser/profile.h" |
8 #include "chrome/browser/search_engines/template_url_model.h" | 9 #include "chrome/browser/search_engines/template_url_model.h" |
9 #include "chrome/browser/views/standard_layout.h" | 10 #include "chrome/browser/views/standard_layout.h" |
10 #include "chrome/common/l10n_util.h" | |
11 #include "chrome/views/background.h" | 11 #include "chrome/views/background.h" |
12 #include "chrome/views/controls/button/checkbox.h" | 12 #include "chrome/views/controls/button/checkbox.h" |
13 #include "chrome/views/controls/label.h" | 13 #include "chrome/views/controls/label.h" |
14 #include "chrome/views/controls/throbber.h" | 14 #include "chrome/views/controls/throbber.h" |
15 #include "chrome/views/window/window.h" | 15 #include "chrome/views/window/window.h" |
16 #include "chrome/common/pref_names.h" | 16 #include "chrome/common/pref_names.h" |
17 #include "chrome/common/pref_service.h" | 17 #include "chrome/common/pref_service.h" |
18 #include "grit/generated_resources.h" | 18 #include "grit/generated_resources.h" |
19 #include "grit/locale_settings.h" | 19 #include "grit/locale_settings.h" |
20 #include "net/url_request/url_request_context.h" | 20 #include "net/url_request/url_request_context.h" |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 remover_->AddObserver(this); | 436 remover_->AddObserver(this); |
437 remover_->Remove(remove_mask); | 437 remover_->Remove(remove_mask); |
438 } | 438 } |
439 | 439 |
440 void ClearBrowsingDataView::OnBrowsingDataRemoverDone() { | 440 void ClearBrowsingDataView::OnBrowsingDataRemoverDone() { |
441 // No need to remove ourselves as an observer as BrowsingDataRemover deletes | 441 // No need to remove ourselves as an observer as BrowsingDataRemover deletes |
442 // itself after we return. | 442 // itself after we return. |
443 remover_ = NULL; | 443 remover_ = NULL; |
444 window()->Close(); | 444 window()->Close(); |
445 } | 445 } |
OLD | NEW |