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

Side by Side Diff: components/rappor/rappor_prefs.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, 11 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
« no previous file with comments | « components/rappor/rappor_metric.h ('k') | components/rappor/rappor_prefs_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_RAPPOR_RAPPOR_PREFS_H_ 5 #ifndef COMPONENTS_RAPPOR_RAPPOR_PREFS_H_
6 #define COMPONENTS_RAPPOR_RAPPOR_PREFS_H_ 6 #define COMPONENTS_RAPPOR_RAPPOR_PREFS_H_
7 7
8 #include <stdint.h>
9
8 #include <string> 10 #include <string>
9 11
10 #include "base/basictypes.h"
11 12
12 class PrefService; 13 class PrefService;
13 class PrefRegistrySimple; 14 class PrefRegistrySimple;
14 15
15 namespace rappor { 16 namespace rappor {
16 17
17 namespace internal { 18 namespace internal {
18 19
19 enum LoadResult { 20 enum LoadResult {
20 LOAD_SUCCESS = 0, 21 LOAD_SUCCESS = 0,
(...skipping 15 matching lines...) Expand all
36 // Retrieves the value for secret from preferences, generating it if doesn't 37 // Retrieves the value for secret from preferences, generating it if doesn't
37 // already exist. The secret should be persistent, so that additional bits 38 // already exist. The secret should be persistent, so that additional bits
38 // from the client do not get exposed over time. 39 // from the client do not get exposed over time.
39 std::string LoadSecret(PrefService* pref_service); 40 std::string LoadSecret(PrefService* pref_service);
40 41
41 } // namespace internal 42 } // namespace internal
42 43
43 } // namespace rappor 44 } // namespace rappor
44 45
45 #endif // COMPONENTS_RAPPOR_RAPPOR_PREFS_H_ 46 #endif // COMPONENTS_RAPPOR_RAPPOR_PREFS_H_
OLDNEW
« no previous file with comments | « components/rappor/rappor_metric.h ('k') | components/rappor/rappor_prefs_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698