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

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

Issue 2443103003: Remove unused include in sequenced_worker_pool.h (Closed)
Patch Set: merge up to r429325 Created 4 years, 1 month 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/drive/file_write_watcher.cc ('k') | components/gcm_driver/fake_gcm_driver.h » ('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 #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> 7 #include <stddef.h>
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/metrics/histogram_macros.h" 14 #include "base/metrics/histogram_macros.h"
15 #include "base/sequenced_task_runner.h"
15 #include "components/gcm_driver/crypto/p256_key_util.h" 16 #include "components/gcm_driver/crypto/p256_key_util.h"
16 #include "components/leveldb_proto/proto_database_impl.h" 17 #include "components/leveldb_proto/proto_database_impl.h"
17 #include "crypto/random.h" 18 #include "crypto/random.h"
18 19
19 namespace gcm { 20 namespace gcm {
20 21
21 namespace { 22 namespace {
22 23
23 // Statistics are logged to UMA with this string as part of histogram name. They 24 // Statistics are logged to UMA with this string as part of histogram name. They
24 // can all be found under LevelDB.*.GCMKeyStore. Changing this needs to 25 // can all be found under LevelDB.*.GCMKeyStore. Changing this needs to
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 key_data_[entry.app_id()][authorized_entity] = {entry.keys(0), 322 key_data_[entry.app_id()][authorized_entity] = {entry.keys(0),
322 entry.auth_secret()}; 323 entry.auth_secret()};
323 } 324 }
324 325
325 state_ = State::INITIALIZED; 326 state_ = State::INITIALIZED;
326 327
327 delayed_task_controller_.SetReady(); 328 delayed_task_controller_.SetReady();
328 } 329 }
329 330
330 } // namespace gcm 331 } // namespace gcm
OLDNEW
« no previous file with comments | « components/drive/file_write_watcher.cc ('k') | components/gcm_driver/fake_gcm_driver.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698