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

Side by Side Diff: chrome/browser/chromeos/cros/network_library_unittest.cc

Issue 13006020: net: extract net/cert out of net/base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 8 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 <cert.h> 5 #include <cert.h>
6 #include <pk11pub.h> 6 #include <pk11pub.h>
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/at_exit.h" 11 #include "base/at_exit.h"
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/files/scoped_temp_dir.h" 14 #include "base/files/scoped_temp_dir.h"
15 #include "base/json/json_reader.h" 15 #include "base/json/json_reader.h"
16 #include "base/lazy_instance.h" 16 #include "base/lazy_instance.h"
17 #include "base/path_service.h" 17 #include "base/path_service.h"
18 #include "chrome/browser/chromeos/cros/cros_library.h" 18 #include "chrome/browser/chromeos/cros/cros_library.h"
19 #include "chrome/browser/chromeos/cros/network_library.h" 19 #include "chrome/browser/chromeos/cros/network_library.h"
20 #include "chrome/browser/chromeos/cros/network_library_impl_stub.h" 20 #include "chrome/browser/chromeos/cros/network_library_impl_stub.h"
21 #include "chrome/browser/chromeos/login/mock_user_manager.h" 21 #include "chrome/browser/chromeos/login/mock_user_manager.h"
22 #include "chrome/browser/google_apis/test_util.h" 22 #include "chrome/browser/google_apis/test_util.h"
23 #include "chrome/common/chrome_paths.h" 23 #include "chrome/common/chrome_paths.h"
24 #include "chromeos/network/onc/onc_certificate_importer.h" 24 #include "chromeos/network/onc/onc_certificate_importer.h"
25 #include "chromeos/network/onc/onc_constants.h" 25 #include "chromeos/network/onc/onc_constants.h"
26 #include "chromeos/network/onc/onc_test_utils.h" 26 #include "chromeos/network/onc/onc_test_utils.h"
27 #include "chromeos/network/onc/onc_utils.h" 27 #include "chromeos/network/onc/onc_utils.h"
28 #include "crypto/nss_util.h" 28 #include "crypto/nss_util.h"
29 #include "net/base/crypto_module.h" 29 #include "net/base/crypto_module.h"
30 #include "net/base/nss_cert_database.h" 30 #include "net/cert/nss_cert_database.h"
31 #include "net/base/x509_certificate.h" 31 #include "net/cert/x509_certificate.h"
32 #include "testing/gmock/include/gmock/gmock.h" 32 #include "testing/gmock/include/gmock/gmock.h"
33 #include "testing/gtest/include/gtest/gtest.h" 33 #include "testing/gtest/include/gtest/gtest.h"
34 34
35 using ::testing::Return; 35 using ::testing::Return;
36 using ::testing::AtLeast; 36 using ::testing::AtLeast;
37 37
38 namespace chromeos { 38 namespace chromeos {
39 39
40 namespace { 40 namespace {
41 41
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
497 497
498 // TODO(stevenjb): Test network profiles. 498 // TODO(stevenjb): Test network profiles.
499 499
500 // TODO(stevenjb): Test network devices. 500 // TODO(stevenjb): Test network devices.
501 501
502 // TODO(stevenjb): Test data plans. 502 // TODO(stevenjb): Test data plans.
503 503
504 // TODO(stevenjb): Test monitor network / device. 504 // TODO(stevenjb): Test monitor network / device.
505 505
506 } // namespace chromeos 506 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/certificate_pattern.cc ('k') | chrome/browser/chromeos/web_socket_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698