| OLD | NEW |
| 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 26 matching lines...) Expand all Loading... |
| 37 #include "content/public/browser/web_contents.h" | 37 #include "content/public/browser/web_contents.h" |
| 38 #include "grit/generated_resources.h" | 38 #include "grit/generated_resources.h" |
| 39 #include "ui/base/l10n/l10n_util.h" | 39 #include "ui/base/l10n/l10n_util.h" |
| 40 | 40 |
| 41 #if defined(USE_AURA) | 41 #if defined(USE_AURA) |
| 42 #include "ash/shell.h" | 42 #include "ash/shell.h" |
| 43 #include "ash/wm/power_button_controller.h" | 43 #include "ash/wm/power_button_controller.h" |
| 44 #endif | 44 #endif |
| 45 | 45 |
| 46 using content::BrowserThread; | 46 using content::BrowserThread; |
| 47 using content::RenderViewHost; |
| 47 | 48 |
| 48 namespace { | 49 namespace { |
| 49 | 50 |
| 50 const char kDefaultDomain[] = "@gmail.com"; | 51 const char kDefaultDomain[] = "@gmail.com"; |
| 51 | 52 |
| 52 // Account picker screen id. | 53 // Account picker screen id. |
| 53 const char kAccountPickerScreen[] = "account-picker"; | 54 const char kAccountPickerScreen[] = "account-picker"; |
| 54 // Sign in screen id for GAIA extension hosted content. | 55 // Sign in screen id for GAIA extension hosted content. |
| 55 const char kGaiaSigninScreen[] = "gaia-signin"; | 56 const char kGaiaSigninScreen[] = "gaia-signin"; |
| 56 // Start page of GAIA authentication extension. | 57 // Start page of GAIA authentication extension. |
| (...skipping 885 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 942 | 943 |
| 943 cookie_remover_ = new BrowsingDataRemover( | 944 cookie_remover_ = new BrowsingDataRemover( |
| 944 Profile::FromWebUI(web_ui()), | 945 Profile::FromWebUI(web_ui()), |
| 945 BrowsingDataRemover::EVERYTHING, | 946 BrowsingDataRemover::EVERYTHING, |
| 946 base::Time()); | 947 base::Time()); |
| 947 cookie_remover_->AddObserver(this); | 948 cookie_remover_->AddObserver(this); |
| 948 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); | 949 cookie_remover_->Remove(BrowsingDataRemover::REMOVE_SITE_DATA); |
| 949 } | 950 } |
| 950 | 951 |
| 951 } // namespace chromeos | 952 } // namespace chromeos |
| OLD | NEW |