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

Side by Side Diff: components/gcm_driver/crypto/gcm_key_store.cc

Issue 1548113002: Switch to standard integer types in components/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: gn 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
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 #include "components/gcm_driver/crypto/gcm_key_store.h" 5 #include "components/gcm_driver/crypto/gcm_key_store.h"
6 6
7 #include <stddef.h>
8
7 #include <utility> 9 #include <utility>
8 10
9 #include "base/logging.h" 11 #include "base/logging.h"
10 #include "components/gcm_driver/crypto/p256_key_util.h" 12 #include "components/gcm_driver/crypto/p256_key_util.h"
11 #include "components/leveldb_proto/proto_database_impl.h" 13 #include "components/leveldb_proto/proto_database_impl.h"
12 #include "crypto/random.h" 14 #include "crypto/random.h"
13 15
14 namespace gcm { 16 namespace gcm {
15 17
16 // Statistics are logged to UMA with this string as part of histogram name. They 18 // Statistics are logged to UMA with this string as part of histogram name. They
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 key_pairs_[entry.app_id()] = entry.keys(0); 234 key_pairs_[entry.app_id()] = entry.keys(0);
233 auth_secrets_[entry.app_id()] = entry.auth_secret(); 235 auth_secrets_[entry.app_id()] = entry.auth_secret();
234 } 236 }
235 237
236 state_ = State::INITIALIZED; 238 state_ = State::INITIALIZED;
237 239
238 delayed_task_controller_.SetReady(); 240 delayed_task_controller_.SetReady();
239 } 241 }
240 242
241 } // namespace gcm 243 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698