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_internals_util.h" | 5 #include "chrome/browser/signin/signin_internals_util.h" |
6 | 6 |
7 #include <sstream> | 7 #include <sstream> |
8 | 8 |
9 #include "base/logging.h" | 9 #include "base/logging.h" |
10 #include "base/strings/string_number_conversions.h" | 10 #include "base/strings/string_number_conversions.h" |
11 #include "base/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/common/chrome_version_info.h" | 12 #include "chrome/common/chrome_version_info.h" |
13 #include "chrome/common/extensions/extension_messages.h" | 13 #include "chrome/common/extensions/extension_messages.h" |
14 #include "chrome/common/url_constants.h" | 14 #include "chrome/common/url_constants.h" |
15 #include "content/public/browser/web_contents.h" | 15 #include "content/public/browser/web_contents.h" |
16 #include "crypto/sha2.h" | 16 #include "crypto/sha2.h" |
17 #include "google_apis/gaia/gaia_constants.h" | 17 #include "google_apis/gaia/gaia_constants.h" |
18 | 18 |
19 namespace signin_internals_util { | 19 namespace signin_internals_util { |
20 | 20 |
21 const char kSigninPrefPrefix[] = "google.services.signin."; | 21 const char kSigninPrefPrefix[] = "google.services.signin."; |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
286 for (std::map<std::string, TokenInfo>::iterator it = token_info_map.begin(); | 286 for (std::map<std::string, TokenInfo>::iterator it = token_info_map.begin(); |
287 it != token_info_map.end(); ++it) { | 287 it != token_info_map.end(); ++it) { |
288 DictionaryValue* token_info = it->second.ToValue(); | 288 DictionaryValue* token_info = it->second.ToValue(); |
289 token_details->Append(token_info); | 289 token_details->Append(token_info); |
290 } | 290 } |
291 | 291 |
292 return signin_status.Pass(); | 292 return signin_status.Pass(); |
293 } | 293 } |
294 | 294 |
295 } // namespace signin_internals_util | 295 } // namespace signin_internals_util |
OLD | NEW |