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

Side by Side Diff: components/signin/core/browser/signin_internals_util.h

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INTERNALS_UTIL_H_ 5 #ifndef COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INTERNALS_UTIL_H_
6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INTERNALS_UTIL_H_ 6 #define COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INTERNALS_UTIL_H_
7 7
8 #include <stddef.h>
9
8 #include <map> 10 #include <map>
9 #include <string> 11 #include <string>
10 12
11 #include "base/memory/scoped_ptr.h" 13 #include "base/memory/scoped_ptr.h"
12 #include "base/values.h" 14 #include "base/values.h"
13 15
14 namespace signin_internals_util { 16 namespace signin_internals_util {
15 17
16 // Preference prefixes for signin and token values. 18 // Preference prefixes for signin and token values.
17 extern const char kSigninPrefPrefix[]; 19 extern const char kSigninPrefPrefix[];
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // These are enough to perform equality checks across a single users tokens, 81 // These are enough to perform equality checks across a single users tokens,
80 // while preventing outsiders from reverse-engineering the actual token from 82 // while preventing outsiders from reverse-engineering the actual token from
81 // the displayed value. 83 // the displayed value.
82 // Note that for readability (in about:signin-internals), an empty string 84 // Note that for readability (in about:signin-internals), an empty string
83 // is not hashed, but simply returned as an empty string. 85 // is not hashed, but simply returned as an empty string.
84 std::string GetTruncatedHash(const std::string& str); 86 std::string GetTruncatedHash(const std::string& str);
85 87
86 } // namespace signin_internals_util 88 } // namespace signin_internals_util
87 89
88 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INTERNALS_UTIL_H_ 90 #endif // COMPONENTS_SIGNIN_CORE_BROWSER_SIGNIN_INTERNALS_UTIL_H_
OLDNEW
« no previous file with comments | « components/signin/core/browser/signin_header_helper.cc ('k') | components/signin/core/browser/signin_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698