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/signin/signin_manager.h" | 5 #include "chrome/browser/signin/signin_manager.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "chrome/common/pref_names.h" | 31 #include "chrome/common/pref_names.h" |
32 #include "content/public/browser/browser_thread.h" | 32 #include "content/public/browser/browser_thread.h" |
33 #include "content/public/browser/notification_service.h" | 33 #include "content/public/browser/notification_service.h" |
34 #include "content/public/browser/render_process_host.h" | 34 #include "content/public/browser/render_process_host.h" |
35 #include "google_apis/gaia/gaia_auth_fetcher.h" | 35 #include "google_apis/gaia/gaia_auth_fetcher.h" |
36 #include "google_apis/gaia/gaia_auth_util.h" | 36 #include "google_apis/gaia/gaia_auth_util.h" |
37 #include "google_apis/gaia/gaia_constants.h" | 37 #include "google_apis/gaia/gaia_constants.h" |
38 #include "google_apis/gaia/gaia_urls.h" | 38 #include "google_apis/gaia/gaia_urls.h" |
39 #include "net/base/escape.h" | 39 #include "net/base/escape.h" |
40 #include "net/url_request/url_request_context.h" | 40 #include "net/url_request/url_request_context.h" |
41 #include "third_party/icu/public/i18n/unicode/regex.h" | 41 #include "third_party/icu/source/i18n/unicode/regex.h" |
42 | 42 |
43 using namespace signin_internals_util; | 43 using namespace signin_internals_util; |
44 | 44 |
45 using content::BrowserThread; | 45 using content::BrowserThread; |
46 | 46 |
47 namespace { | 47 namespace { |
48 | 48 |
49 const char kGetInfoDisplayEmailKey[] = "displayEmail"; | 49 const char kGetInfoDisplayEmailKey[] = "displayEmail"; |
50 const char kGetInfoEmailKey[] = "email"; | 50 const char kGetInfoEmailKey[] = "email"; |
51 | 51 |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
708 } | 708 } |
709 } | 709 } |
710 | 710 |
711 void SigninManager::ProhibitSignout(bool prohibit_signout) { | 711 void SigninManager::ProhibitSignout(bool prohibit_signout) { |
712 prohibit_signout_ = prohibit_signout; | 712 prohibit_signout_ = prohibit_signout; |
713 } | 713 } |
714 | 714 |
715 bool SigninManager::IsSignoutProhibited() const { | 715 bool SigninManager::IsSignoutProhibited() const { |
716 return prohibit_signout_; | 716 return prohibit_signout_; |
717 } | 717 } |
OLD | NEW |