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

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

Issue 2537513006: content: Cleanup class/struct forward declarations (Closed)
Patch Set: Created 4 years 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_RESOURCE_HANDLER_H_ 5 #ifndef CONTENT_BROWSER_LOADER_TEST_RESOURCE_HANDLER_H_
6 #define CONTENT_BROWSER_LOADER_TEST_RESOURCE_HANDLER_H_ 6 #define CONTENT_BROWSER_LOADER_TEST_RESOURCE_HANDLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "content/browser/loader/resource_handler.h" 12 #include "content/browser/loader/resource_handler.h"
13 #include "net/base/io_buffer.h" 13 #include "net/base/io_buffer.h"
14 14
15 class GURL; 15 class GURL;
16 16
17 namespace net { 17 namespace net {
18 class URLRequest;
19 class URLRequestStatus; 18 class URLRequestStatus;
20 } 19 }
21 20
22 namespace content { 21 namespace content {
23 22
24 class ResourceHandler; 23 class ResourceHandler;
25 struct ResourceResponse; 24 struct ResourceResponse;
26 25
27 // A test version of a ResourceHandler. It returns a configurable buffer in 26 // A test version of a ResourceHandler. It returns a configurable buffer in
28 // response to OnWillStart. It records what ResourceHandler methods are called, 27 // response to OnWillStart. It records what ResourceHandler methods are called,
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 int on_will_read_called_ = 0; 122 int on_will_read_called_ = 0;
124 int on_read_completed_called_ = 0; 123 int on_read_completed_called_ = 0;
125 int on_response_completed_called_ = 0; 124 int on_response_completed_called_ = 0;
126 125
127 DISALLOW_COPY_AND_ASSIGN(TestResourceHandler); 126 DISALLOW_COPY_AND_ASSIGN(TestResourceHandler);
128 }; 127 };
129 128
130 } // namespace content 129 } // namespace content
131 130
132 #endif // CONTENT_BROWSER_LOADER_TEST_RESOURCE_HANDLER_H_ 131 #endif // CONTENT_BROWSER_LOADER_TEST_RESOURCE_HANDLER_H_
OLDNEW
« no previous file with comments | « content/browser/loader/sync_resource_handler.h ('k') | content/browser/net/quota_policy_cookie_store.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698