OLD | NEW |
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/ui/webui/options2/clear_browser_data_handler.h" | 5 #include "chrome/browser/ui/webui/options/clear_browser_data_handler.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/bind.h" | 8 #include "base/bind.h" |
9 #include "base/bind_helpers.h" | 9 #include "base/bind_helpers.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "base/values.h" | 11 #include "base/values.h" |
12 #include "chrome/browser/browser_process.h" | 12 #include "chrome/browser/browser_process.h" |
13 #include "chrome/browser/browsing_data/browsing_data_helper.h" | 13 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
14 #include "chrome/browser/browsing_data/browsing_data_remover.h" | 14 #include "chrome/browser/browsing_data/browsing_data_remover.h" |
15 #include "chrome/browser/google/google_util.h" | 15 #include "chrome/browser/google/google_util.h" |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 } | 152 } |
153 | 153 |
154 void ClearBrowserDataHandler::OnBrowsingDataRemoverDone() { | 154 void ClearBrowserDataHandler::OnBrowsingDataRemoverDone() { |
155 // No need to remove ourselves as an observer as BrowsingDataRemover deletes | 155 // No need to remove ourselves as an observer as BrowsingDataRemover deletes |
156 // itself after we return. | 156 // itself after we return. |
157 remover_ = NULL; | 157 remover_ = NULL; |
158 web_ui()->CallJavascriptFunction("ClearBrowserDataOverlay.doneClearing"); | 158 web_ui()->CallJavascriptFunction("ClearBrowserDataOverlay.doneClearing"); |
159 } | 159 } |
160 | 160 |
161 } // namespace options | 161 } // namespace options |
OLD | NEW |