| 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 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" | 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "base/task.h" | 9 #include "base/task.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 477 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, clear_dns_task_); | 477 BrowserThread::PostTask(BrowserThread::IO, FROM_HERE, clear_dns_task_); |
| 478 } | 478 } |
| 479 | 479 |
| 480 void SigninScreenHandler::StartClearingCookies() { | 480 void SigninScreenHandler::StartClearingCookies() { |
| 481 cookies_cleared_ = false; | 481 cookies_cleared_ = false; |
| 482 BrowsingDataRemover* remover = new BrowsingDataRemover( | 482 BrowsingDataRemover* remover = new BrowsingDataRemover( |
| 483 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()), | 483 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()), |
| 484 BrowsingDataRemover::EVERYTHING, | 484 BrowsingDataRemover::EVERYTHING, |
| 485 base::Time()); | 485 base::Time()); |
| 486 remover->AddObserver(this); | 486 remover->AddObserver(this); |
| 487 remover->Remove(BrowsingDataRemover::REMOVE_COOKIES | | 487 remover->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); |
| 488 BrowsingDataRemover::REMOVE_LSO_DATA); | |
| 489 } | 488 } |
| 490 | 489 |
| 491 } // namespace chromeos | 490 } // namespace chromeos |
| OLD | NEW |