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

Unified Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h

Issue 7629016: Forced cookie removal before sign-in page is shown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h
===================================================================
--- chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h (revision 96544)
+++ chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h (working copy)
@@ -9,6 +9,7 @@
#include <string>
#include "base/memory/ref_counted.h"
+#include "chrome/browser/browsing_data_remover.h"
#include "chrome/browser/chromeos/login/help_app_launcher.h"
#include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h"
#include "content/browser/webui/web_ui.h"
@@ -69,7 +70,8 @@
// A class that handles the WebUI hooks in sign-in screen in OobeDisplay
// and LoginDisplay.
class SigninScreenHandler : public BaseScreenHandler,
- public LoginDisplayWebUIHandler {
+ public LoginDisplayWebUIHandler,
+ public BrowsingDataRemover::Observer {
public:
SigninScreenHandler();
virtual ~SigninScreenHandler();
@@ -96,6 +98,9 @@
const std::string& help_link_text,
HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
+ // BrowsingDataRemover::Observer overrides.
+ virtual void OnBrowsingDataRemoverDone() OVERRIDE;
+
// Handles confirmation message of user authentication that was performed by
// the authentication extension.
void HandleCompleteLogin(const base::ListValue* args);
@@ -130,6 +135,9 @@
// Sends user list to account picker.
void SendUserList(bool animated);
+ // Kick off cookie / local storage cleanup.
+ void StartClearingCookies();
+
// A delegate that glues this handler with backend LoginDisplay.
SigninScreenHandlerDelegate* delegate_;
@@ -142,6 +150,7 @@
// True if new user sign in flow is driven by the extension.
bool extension_driven_;
+ std::string email_;
// Help application used for help dialogs.
scoped_refptr<HelpAppLauncher> help_app_;
« no previous file with comments | « no previous file | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698