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

Side by Side Diff: webkit/glue/resource_loader_bridge.h

Issue 10408078: Cleanup: Remove unneeded scoped_ptr.h includes from webkit. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « webkit/glue/cpp_bound_class.h ('k') | webkit/plugins/npapi/plugin_instance.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // The intent of this file is to provide a type-neutral abstraction between 5 // The intent of this file is to provide a type-neutral abstraction between
6 // Chrome and WebKit for resource loading. This pure-virtual interface is 6 // Chrome and WebKit for resource loading. This pure-virtual interface is
7 // implemented by the embedder. 7 // implemented by the embedder.
8 // 8 //
9 // One of these objects will be created by WebKit for each request. WebKit 9 // One of these objects will be created by WebKit for each request. WebKit
10 // will own the pointer to the bridge, and will delete it when the request is 10 // will own the pointer to the bridge, and will delete it when the request is
11 // no longer needed. 11 // no longer needed.
12 // 12 //
13 // In turn, the bridge's owner on the WebKit end will implement the Peer 13 // In turn, the bridge's owner on the WebKit end will implement the Peer
14 // interface, which we will use to communicate notifications back. 14 // interface, which we will use to communicate notifications back.
15 15
16 #ifndef WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ 16 #ifndef WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_
17 #define WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ 17 #define WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_
18 18
19 #include <utility> 19 #include <utility>
20 #include <vector> 20 #include <vector>
21 21
22 #include "build/build_config.h" 22 #include "build/build_config.h"
23 #if defined(OS_POSIX) 23 #if defined(OS_POSIX)
24 #include "base/file_descriptor_posix.h" 24 #include "base/file_descriptor_posix.h"
25 #endif 25 #endif
26 #include "base/file_path.h" 26 #include "base/file_path.h"
27 #include "base/memory/ref_counted.h" 27 #include "base/memory/ref_counted.h"
28 #include "base/memory/scoped_ptr.h"
29 #include "base/platform_file.h" 28 #include "base/platform_file.h"
30 #include "base/time.h" 29 #include "base/time.h"
31 #include "base/values.h" 30 #include "base/values.h"
32 #include "googleurl/src/gurl.h" 31 #include "googleurl/src/gurl.h"
33 #include "net/base/host_port_pair.h" 32 #include "net/base/host_port_pair.h"
34 #include "net/url_request/url_request_status.h" 33 #include "net/url_request/url_request_status.h"
35 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h " 34 #include "third_party/WebKit/Source/Platform/chromium/public/WebReferrerPolicy.h "
36 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h" 35 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURLReques t.h"
37 #include "webkit/glue/resource_type.h" 36 #include "webkit/glue/resource_type.h"
38 #include "webkit/glue/webkit_glue_export.h" 37 #include "webkit/glue/webkit_glue_export.h"
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
409 // methods may be called to construct the body of the request. 408 // methods may be called to construct the body of the request.
410 WEBKIT_GLUE_EXPORT ResourceLoaderBridge(); 409 WEBKIT_GLUE_EXPORT ResourceLoaderBridge();
411 410
412 private: 411 private:
413 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge); 412 DISALLOW_COPY_AND_ASSIGN(ResourceLoaderBridge);
414 }; 413 };
415 414
416 } // namespace webkit_glue 415 } // namespace webkit_glue
417 416
418 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_ 417 #endif // WEBKIT_GLUE_RESOURCE_LOADER_BRIDGE_H_
OLDNEW
« no previous file with comments | « webkit/glue/cpp_bound_class.h ('k') | webkit/plugins/npapi/plugin_instance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698