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

Side by Side Diff: chrome_frame/urlmon_url_request.h

Issue 5998006: Clean up Automation and Chrome Frame IPC code. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 12 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 | « chrome_frame/test/url_request_test.cc ('k') | chrome_frame/urlmon_url_request.cc » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_FRAME_URLMON_URL_REQUEST_H_ 5 #ifndef CHROME_FRAME_URLMON_URL_REQUEST_H_
6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_ 6 #define CHROME_FRAME_URLMON_URL_REQUEST_H_
7 7
8 #include <urlmon.h> 8 #include <urlmon.h>
9 #include <atlbase.h> 9 #include <atlbase.h>
10 #include <atlcom.h> 10 #include <atlcom.h>
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 private: 75 private:
76 friend class MessageLoop; 76 friend class MessageLoop;
77 friend struct RunnableMethodTraits<UrlmonUrlRequestManager>; 77 friend struct RunnableMethodTraits<UrlmonUrlRequestManager>;
78 static bool ImplementsThreadSafeReferenceCounting() { return true; } 78 static bool ImplementsThreadSafeReferenceCounting() { return true; }
79 void AddRef() {} 79 void AddRef() {}
80 void Release() {} 80 void Release() {}
81 81
82 // PluginUrlRequestManager implementation. 82 // PluginUrlRequestManager implementation.
83 virtual PluginUrlRequestManager::ThreadSafeFlags GetThreadSafeFlags(); 83 virtual PluginUrlRequestManager::ThreadSafeFlags GetThreadSafeFlags();
84 virtual void StartRequest(int request_id, 84 virtual void StartRequest(int request_id,
85 const IPC::AutomationURLRequest& request_info); 85 const AutomationURLRequest& request_info);
86 virtual void ReadRequest(int request_id, int bytes_to_read); 86 virtual void ReadRequest(int request_id, int bytes_to_read);
87 virtual void EndRequest(int request_id); 87 virtual void EndRequest(int request_id);
88 virtual void DownloadRequestInHost(int request_id); 88 virtual void DownloadRequestInHost(int request_id);
89 virtual void StopAll(); 89 virtual void StopAll();
90 virtual void GetCookiesForUrl(const GURL& url, int cookie_id); 90 virtual void GetCookiesForUrl(const GURL& url, int cookie_id);
91 virtual void SetCookiesForUrl(const GURL& url, const std::string& cookie); 91 virtual void SetCookiesForUrl(const GURL& url, const std::string& cookie);
92 92
93 // PluginUrlRequestDelegate implementation 93 // PluginUrlRequestDelegate implementation
94 virtual void OnResponseStarted(int request_id, const char* mime_type, 94 virtual void OnResponseStarted(int request_id, const char* mime_type,
95 const char* headers, int size, 95 const char* headers, int size,
(...skipping 24 matching lines...) Expand all
120 // The window to be used to fire notifications on. 120 // The window to be used to fire notifications on.
121 HWND notification_window_; 121 HWND notification_window_;
122 // Set to true if the ChromeFrame instance is running in privileged mode. 122 // Set to true if the ChromeFrame instance is running in privileged mode.
123 bool privileged_mode_; 123 bool privileged_mode_;
124 // A pointer to the containing object. We maintain a weak reference to avoid 124 // A pointer to the containing object. We maintain a weak reference to avoid
125 // lifetime issues. 125 // lifetime issues.
126 IUnknown* container_; 126 IUnknown* container_;
127 }; 127 };
128 128
129 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_ 129 #endif // CHROME_FRAME_URLMON_URL_REQUEST_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/url_request_test.cc ('k') | chrome_frame/urlmon_url_request.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698