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

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

Issue 9159065: [cros] Disable GAIA frame preload till issue with focus is fixed. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/chromeos/login/signin_screen_handler.h" 5 #include "chrome/browser/ui/webui/chromeos/login/signin_screen_handler.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
241 } 241 }
242 } 242 }
243 243
244 // SigninScreenHandler implementation ------------------------------------------ 244 // SigninScreenHandler implementation ------------------------------------------
245 245
246 SigninScreenHandler::SigninScreenHandler() 246 SigninScreenHandler::SigninScreenHandler()
247 : delegate_(NULL), 247 : delegate_(NULL),
248 show_on_init_(false), 248 show_on_init_(false),
249 oobe_ui_(false), 249 oobe_ui_(false),
250 is_first_webui_ready_(false), 250 is_first_webui_ready_(false),
251 is_first_attempt_(true), 251 // TODO(altimofeev): Mark as a first attempt (init to true) when
252 // http://crosbug.com/23743 is fixed.
253 is_first_attempt_(false),
252 dns_cleared_(false), 254 dns_cleared_(false),
253 dns_clear_task_running_(false), 255 dns_clear_task_running_(false),
254 cookies_cleared_(false), 256 cookies_cleared_(false),
255 cookie_remover_(NULL), 257 cookie_remover_(NULL),
256 ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)), 258 ALLOW_THIS_IN_INITIALIZER_LIST(weak_factory_(this)),
257 key_event_listener_(NULL) { 259 key_event_listener_(NULL) {
258 CrosSettings::Get()->AddSettingsObserver(kAccountsPrefAllowNewUser, this); 260 CrosSettings::Get()->AddSettingsObserver(kAccountsPrefAllowNewUser, this);
259 CrosSettings::Get()->AddSettingsObserver(kAccountsPrefAllowGuest, this); 261 CrosSettings::Get()->AddSettingsObserver(kAccountsPrefAllowGuest, this);
260 } 262 }
261 263
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after
856 858
857 cookie_remover_ = new BrowsingDataRemover( 859 cookie_remover_ = new BrowsingDataRemover(
858 Profile::FromWebUI(web_ui()), 860 Profile::FromWebUI(web_ui()),
859 BrowsingDataRemover::EVERYTHING, 861 BrowsingDataRemover::EVERYTHING,
860 base::Time()); 862 base::Time());
861 cookie_remover_->AddObserver(this); 863 cookie_remover_->AddObserver(this);
862 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); 864 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA);
863 } 865 }
864 866
865 } // namespace chromeos 867 } // namespace chromeos
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698