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

Side by Side Diff: net/reporting/reporting_uploader_unittest.cc

Issue 2895253002: Reporting: Add missing #include <utility> (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « net/reporting/reporting_uploader.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 "net/reporting/reporting_uploader.h" 5 #include "net/reporting/reporting_uploader.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 #include <utility>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/callback.h" 12 #include "base/callback.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "net/cookies/cookie_store.h" 14 #include "net/cookies/cookie_store.h"
14 #include "net/cookies/cookie_store_test_callbacks.h" 15 #include "net/cookies/cookie_store_test_callbacks.h"
15 #include "net/http/http_status_code.h" 16 #include "net/http/http_status_code.h"
16 #include "net/test/embedded_test_server/embedded_test_server.h" 17 #include "net/test/embedded_test_server/embedded_test_server.h"
17 #include "net/test/embedded_test_server/http_request.h" 18 #include "net/test/embedded_test_server/http_request.h"
18 #include "net/test/embedded_test_server/http_response.h" 19 #include "net/test/embedded_test_server/http_response.h"
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 TestUploadCallback callback; 317 TestUploadCallback callback;
317 uploader_->StartUpload(server_.GetURL("/"), kUploadBody, 318 uploader_->StartUpload(server_.GetURL("/"), kUploadBody,
318 callback.callback()); 319 callback.callback());
319 callback.WaitForCall(); 320 callback.WaitForCall();
320 } 321 }
321 EXPECT_EQ(2, request_count); 322 EXPECT_EQ(2, request_count);
322 } 323 }
323 324
324 } // namespace 325 } // namespace
325 } // namespace net 326 } // namespace net
OLDNEW
« no previous file with comments | « net/reporting/reporting_uploader.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698