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: chrome/common/net/url_request_intercept_job.h

Issue 6657003: Update a bunch of files to the new location of notification files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years, 9 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
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_ 5 #ifndef CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_
6 #define CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_ 6 #define CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
12 #include "base/task.h" 12 #include "base/task.h"
13 #include "net/url_request/url_request_job.h"
14 #include "chrome/common/chrome_plugin_api.h" 13 #include "chrome/common/chrome_plugin_api.h"
15 #include "chrome/common/chrome_plugin_util.h" 14 #include "chrome/common/chrome_plugin_util.h"
16 #include "chrome/common/notification_registrar.h" 15 #include "content/common/notification_registrar.h"
16 #include "net/url_request/url_request_job.h"
17 17
18 namespace net { 18 namespace net {
19 class URLRequest; 19 class URLRequest;
20 } // namespace net 20 } // namespace net
21 21
22 class ChromePluginLib; 22 class ChromePluginLib;
23 23
24 // A request job that handles network requests intercepted by a Chrome plugin. 24 // A request job that handles network requests intercepted by a Chrome plugin.
25 class URLRequestInterceptJob : public net::URLRequestJob, 25 class URLRequestInterceptJob : public net::URLRequestJob,
26 public NotificationObserver { 26 public NotificationObserver {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 scoped_ptr<ScopableCPRequest> cprequest_; 64 scoped_ptr<ScopableCPRequest> cprequest_;
65 ChromePluginLib* plugin_; 65 ChromePluginLib* plugin_;
66 net::IOBuffer* read_buffer_; 66 net::IOBuffer* read_buffer_;
67 int read_buffer_size_; 67 int read_buffer_size_;
68 ScopedRunnableMethodFactory<URLRequestInterceptJob> method_factory_; 68 ScopedRunnableMethodFactory<URLRequestInterceptJob> method_factory_;
69 69
70 DISALLOW_COPY_AND_ASSIGN(URLRequestInterceptJob); 70 DISALLOW_COPY_AND_ASSIGN(URLRequestInterceptJob);
71 }; 71 };
72 72
73 #endif // CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_ 73 #endif // CHROME_COMMON_NET_URL_REQUEST_INTERCEPT_JOB_H_
OLDNEW
« no previous file with comments | « chrome/common/native_window_notification_source.h ('k') | chrome/common/net/url_request_intercept_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698