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

Side by Side Diff: chrome/browser/chromeos/login/owner_key_utils.cc

Issue 3402010: Google codestyle prescribes sorting #include filenames within a section.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 3 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/browser/chromeos/login/owner_key_utils.h" 5 #include "chrome/browser/chromeos/login/owner_key_utils.h"
6 6
7 #include <keyhi.h> // SECKEY_CreateSubjectPublicKeyInfo() 7 #include <keyhi.h> // SECKEY_CreateSubjectPublicKeyInfo()
8 #include <pk11pub.h> 8 #include <pk11pub.h>
9 #include <prerror.h> // PR_GetError() 9 #include <prerror.h> // PR_GetError()
10 #include <secder.h> // DER_Encode() 10 #include <secder.h> // DER_Encode()
11 #include <secmod.h> 11 #include <secmod.h>
12 12
13 #include <limits> 13 #include <limits>
14 14
15 #include "base/crypto/rsa_private_key.h" 15 #include "base/crypto/rsa_private_key.h"
16 #include "base/crypto/signature_creator.h" 16 #include "base/crypto/signature_creator.h"
17 #include "base/crypto/signature_verifier.h" 17 #include "base/crypto/signature_verifier.h"
18 #include "base/file_path.h" 18 #include "base/file_path.h"
19 #include "base/file_util.h" 19 #include "base/file_util.h"
20 #include "base/logging.h" 20 #include "base/logging.h"
21 #include "base/nss_util.h"
21 #include "base/nss_util_internal.h" 22 #include "base/nss_util_internal.h"
22 #include "base/nss_util.h"
23 #include "base/scoped_ptr.h" 23 #include "base/scoped_ptr.h"
24 #include "base/string_util.h" 24 #include "base/string_util.h"
25 #include "chrome/browser/chromeos/cros/cros_library.h" 25 #include "chrome/browser/chromeos/cros/cros_library.h"
26 #include "chrome/browser/chromeos/cros/login_library.h" 26 #include "chrome/browser/chromeos/cros/login_library.h"
27 #include "chrome/common/extensions/extension_constants.h" 27 #include "chrome/common/extensions/extension_constants.h"
28 28
29 using base::RSAPrivateKey; 29 using base::RSAPrivateKey;
30 using extension_misc::kSignatureAlgorithm; 30 using extension_misc::kSignatureAlgorithm;
31 31
32 namespace chromeos { 32 namespace chromeos {
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 RSAPrivateKey* OwnerKeyUtilsImpl::FindPrivateKey( 205 RSAPrivateKey* OwnerKeyUtilsImpl::FindPrivateKey(
206 const std::vector<uint8>& key) { 206 const std::vector<uint8>& key) {
207 return RSAPrivateKey::FindFromPublicKeyInfo(key); 207 return RSAPrivateKey::FindFromPublicKeyInfo(key);
208 } 208 }
209 209
210 FilePath OwnerKeyUtilsImpl::GetOwnerKeyFilePath() { 210 FilePath OwnerKeyUtilsImpl::GetOwnerKeyFilePath() {
211 return FilePath(OwnerKeyUtilsImpl::kOwnerKeyFile); 211 return FilePath(OwnerKeyUtilsImpl::kOwnerKeyFile);
212 } 212 }
213 213
214 } // namespace chromeos 214 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | chrome/browser/chromeos/login/owner_key_utils_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698