Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6)

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc

Issue 7717023: Rename REMOVE_COOKIES to REMOVE_SITE_DATA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased onto ToT. Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698