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

Side by Side Diff: content/browser/loader/test_url_loader_client.h

Issue 2964503003: Move NetworkService mojom files to content/public/common. (Closed)
Patch Set: Merge Created 3 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef CONTENT_BROWSER_LOADER_TEST_URL_LOADER_CLIENT_H_ 5 #ifndef CONTENT_BROWSER_LOADER_TEST_URL_LOADER_CLIENT_H_
6 #define CONTENT_BROWSER_LOADER_TEST_URL_LOADER_CLIENT_H_ 6 #define CONTENT_BROWSER_LOADER_TEST_URL_LOADER_CLIENT_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "content/common/resource_request_completion_status.h" 13 #include "content/public/common/resource_request_completion_status.h"
14 #include "content/common/url_loader.mojom.h"
15 #include "content/common/url_loader_factory.mojom.h"
16 #include "content/public/common/resource_response.h" 14 #include "content/public/common/resource_response.h"
15 #include "content/public/common/url_loader.mojom.h"
16 #include "content/public/common/url_loader_factory.mojom.h"
17 #include "mojo/public/c/system/data_pipe.h" 17 #include "mojo/public/c/system/data_pipe.h"
18 #include "mojo/public/cpp/bindings/binding.h" 18 #include "mojo/public/cpp/bindings/binding.h"
19 #include "net/url_request/redirect_info.h" 19 #include "net/url_request/redirect_info.h"
20 20
21 namespace content { 21 namespace content {
22 22
23 // A TestURLLoaderClient records URLLoaderClient function calls. It also calls 23 // A TestURLLoaderClient records URLLoaderClient function calls. It also calls
24 // the closure set via set_quit_closure if set, in order to make it possible to 24 // the closure set via set_quit_closure if set, in order to make it possible to
25 // create a base::RunLoop, set its quit closure to this client and then run the 25 // create a base::RunLoop, set its quit closure to this client and then run the
26 // RunLoop. 26 // RunLoop.
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 int64_t body_transfer_size_ = 0; 125 int64_t body_transfer_size_ = 0;
126 int64_t current_upload_position_ = 0; 126 int64_t current_upload_position_ = 0;
127 int64_t total_upload_size_ = 0; 127 int64_t total_upload_size_ = 0;
128 128
129 DISALLOW_COPY_AND_ASSIGN(TestURLLoaderClient); 129 DISALLOW_COPY_AND_ASSIGN(TestURLLoaderClient);
130 }; 130 };
131 131
132 } // namespace content 132 } // namespace content
133 133
134 #endif // CONTENT_BROWSER_LOADER_TEST_URL_LOADER_CLIENT_H_ 134 #endif // CONTENT_BROWSER_LOADER_TEST_URL_LOADER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698