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

Side by Side Diff: components/certificate_transparency/log_proof_fetcher_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 #include "components/certificate_transparency/log_proof_fetcher.h" 5 #include "components/certificate_transparency/log_proof_fetcher.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/macros.h"
9 #include "base/strings/stringprintf.h" 10 #include "base/strings/stringprintf.h"
10 #include "components/safe_json/testing_json_parser.h" 11 #include "components/safe_json/testing_json_parser.h"
11 #include "net/base/net_errors.h" 12 #include "net/base/net_errors.h"
12 #include "net/base/network_delegate.h" 13 #include "net/base/network_delegate.h"
13 #include "net/cert/signed_tree_head.h" 14 #include "net/cert/signed_tree_head.h"
14 #include "net/http/http_status_code.h" 15 #include "net/http/http_status_code.h"
15 #include "net/test/ct_test_util.h" 16 #include "net/test/ct_test_util.h"
16 #include "net/url_request/url_request_context.h" 17 #include "net/url_request/url_request_context.h"
17 #include "net/url_request/url_request_filter.h" 18 #include "net/url_request/url_request_filter.h"
18 #include "net/url_request/url_request_interceptor.h" 19 #include "net/url_request/url_request_interceptor.h"
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 RunFetcherWithCallback(&callback); 299 RunFetcherWithCallback(&callback);
299 300
300 ASSERT_TRUE(callback.invoked()); 301 ASSERT_TRUE(callback.invoked());
301 EXPECT_EQ(net::OK, callback.net_error()); 302 EXPECT_EQ(net::OK, callback.net_error());
302 EXPECT_EQ(net::HTTP_NOT_FOUND, callback.http_response_code()); 303 EXPECT_EQ(net::HTTP_NOT_FOUND, callback.http_response_code());
303 } 304 }
304 305
305 } // namespace 306 } // namespace
306 307
307 } // namespace certificate_transparency 308 } // namespace certificate_transparency
OLDNEW
« no previous file with comments | « components/certificate_transparency/log_proof_fetcher.h ('k') | components/chrome_apps/chrome_apps_resource_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698