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

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

Issue 8437002: Move BrowserThread to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: A few updates. Created 9 years, 1 month 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/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 17 matching lines...) Expand all
28 #include "chrome/common/net/gaia/gaia_urls.h" 28 #include "chrome/common/net/gaia/gaia_urls.h"
29 #include "chrome/common/url_constants.h" 29 #include "chrome/common/url_constants.h"
30 #include "content/browser/tab_contents/tab_contents.h" 30 #include "content/browser/tab_contents/tab_contents.h"
31 #include "content/public/browser/notification_observer.h" 31 #include "content/public/browser/notification_observer.h"
32 #include "content/public/browser/notification_registrar.h" 32 #include "content/public/browser/notification_registrar.h"
33 #include "content/public/browser/notification_service.h" 33 #include "content/public/browser/notification_service.h"
34 #include "grit/generated_resources.h" 34 #include "grit/generated_resources.h"
35 #include "net/base/dnsrr_resolver.h" 35 #include "net/base/dnsrr_resolver.h"
36 #include "ui/base/l10n/l10n_util.h" 36 #include "ui/base/l10n/l10n_util.h"
37 37
38 using content::BrowserThread;
39
38 namespace { 40 namespace {
39 41
40 const char kDefaultDomain[] = "@gmail.com"; 42 const char kDefaultDomain[] = "@gmail.com";
41 43
42 // Account picker screen id. 44 // Account picker screen id.
43 const char kAccountPickerScreen[] = "account-picker"; 45 const char kAccountPickerScreen[] = "account-picker";
44 // Sign in screen id. 46 // Sign in screen id.
45 const char kSigninScreen[] = "signin"; 47 const char kSigninScreen[] = "signin";
46 // Sign in screen id for GAIA extension hosted content. 48 // Sign in screen id for GAIA extension hosted content.
47 const char kGaiaSigninScreen[] = "gaia-signin"; 49 const char kGaiaSigninScreen[] = "gaia-signin";
(...skipping 638 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 688
687 cookie_remover_ = new BrowsingDataRemover( 689 cookie_remover_ = new BrowsingDataRemover(
688 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()), 690 Profile::FromBrowserContext(web_ui_->tab_contents()->browser_context()),
689 BrowsingDataRemover::EVERYTHING, 691 BrowsingDataRemover::EVERYTHING,
690 base::Time()); 692 base::Time());
691 cookie_remover_->AddObserver(this); 693 cookie_remover_->AddObserver(this);
692 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); 694 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA);
693 } 695 }
694 696
695 } // namespace chromeos 697 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/imageburner/webui_handler.h ('k') | chrome/browser/ui/webui/chromeos/mobile_setup_dialog.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698