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

Side by Side Diff: content/browser/loader/resource_loader_unittest.cc

Issue 19532003: Use a direct include of the message_loop header in content/, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/browser/loader/resource_loader.h" 5 #include "content/browser/loader/resource_loader.h"
6 6
7 #include "base/message_loop.h" 7 #include "base/message_loop/message_loop.h"
8 #include "content/browser/browser_thread_impl.h" 8 #include "content/browser/browser_thread_impl.h"
9 #include "content/browser/loader/resource_loader_delegate.h" 9 #include "content/browser/loader/resource_loader_delegate.h"
10 #include "content/public/browser/resource_request_info.h" 10 #include "content/public/browser/resource_request_info.h"
11 #include "content/public/test/mock_resource_context.h" 11 #include "content/public/test/mock_resource_context.h"
12 #include "content/test/test_content_browser_client.h" 12 #include "content/test/test_content_browser_client.h"
13 #include "net/cert/x509_certificate.h" 13 #include "net/cert/x509_certificate.h"
14 #include "net/ssl/client_cert_store.h" 14 #include "net/ssl/client_cert_store.h"
15 #include "net/ssl/ssl_cert_request_info.h" 15 #include "net/ssl/ssl_cert_request_info.h"
16 #include "net/url_request/url_request.h" 16 #include "net/url_request/url_request.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 EXPECT_EQ(dummy_authority, raw_ptr_to_store->requested_authorities()); 246 EXPECT_EQ(dummy_authority, raw_ptr_to_store->requested_authorities());
247 247
248 // Check if the retrieved certificates were passed to the content browser 248 // Check if the retrieved certificates were passed to the content browser
249 // client. 249 // client.
250 EXPECT_EQ(1, test_client.call_count()); 250 EXPECT_EQ(1, test_client.call_count());
251 EXPECT_EQ(dummy_certs, test_client.passed_certs()); 251 EXPECT_EQ(dummy_certs, test_client.passed_certs());
252 } 252 }
253 #endif // !defined(OPENSSL) 253 #endif // !defined(OPENSSL)
254 254
255 } // namespace content 255 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/loader/resource_loader.cc ('k') | content/browser/loader/resource_scheduler_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698