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

Side by Side Diff: components/gcm_driver/crypto/gcm_message_cryptographer.h

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, 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 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_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ 5 #ifndef COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_
6 #define COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ 6 #define COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_
7 7
8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 #include <string> 10 #include <string>
10 11
11 #include "base/compiler_specific.h" 12 #include "base/compiler_specific.h"
12 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
13 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
14 15
15 namespace gcm { 16 namespace gcm {
16 17
17 // Messages delivered through GCM may be encrypted according to the IETF Web 18 // Messages delivered through GCM may be encrypted according to the IETF Web
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 bool allow_empty_auth_secret_for_tests_ = false; 117 bool allow_empty_auth_secret_for_tests_ = false;
117 118
118 void set_allow_empty_auth_secret_for_tests(bool value) { 119 void set_allow_empty_auth_secret_for_tests(bool value) {
119 allow_empty_auth_secret_for_tests_ = value; 120 allow_empty_auth_secret_for_tests_ = value;
120 } 121 }
121 }; 122 };
122 123
123 } // namespace gcm 124 } // namespace gcm
124 125
125 #endif // COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_ 126 #endif // COMPONENTS_GCM_DRIVER_CRYPTO_GCM_MESSAGE_CRYPTOGRAPHER_H_
OLDNEW
« no previous file with comments | « components/gcm_driver/crypto/gcm_key_store.cc ('k') | components/gcm_driver/crypto/gcm_message_cryptographer_nss.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698