diff options
author | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 17:10:51 +0000 |
---|---|---|
committer | stoyan@chromium.org <stoyan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-04-13 17:10:51 +0000 |
commit | 27ad98351b503a436de21c76c2e7944451b620a3 (patch) | |
tree | 9b05bf03bd09cf66243e3284d5a6e0192a8fe907 /chrome_frame/chrome_frame_automation.h | |
parent | 5caf9b2b71c331b883c3760dd4f31855b7ca2d13 (diff) | |
download | chromium_src-27ad98351b503a436de21c76c2e7944451b620a3.zip chromium_src-27ad98351b503a436de21c76c2e7944451b620a3.tar.gz chromium_src-27ad98351b503a436de21c76c2e7944451b620a3.tar.bz2 |
Preparation CL for executing READ and COOKIE network requests from the background thread.
Review URL: http://codereview.chromium.org/1520033
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@44369 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_automation.h')
-rw-r--r-- | chrome_frame/chrome_frame_automation.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome_frame/chrome_frame_automation.h b/chrome_frame/chrome_frame_automation.h index 2387a12..01a64ac 100644 --- a/chrome_frame/chrome_frame_automation.h +++ b/chrome_frame/chrome_frame_automation.h @@ -347,7 +347,7 @@ class ChromeFrameAutomationClient // When host network stack is used, this object is in charge of // handling network requests. PluginUrlRequestManager* url_fetcher_; - bool thread_safe_url_fetcher_; + PluginUrlRequestManager::ThreadSafeFlags url_fetcher_flags_; bool ProcessUrlRequestMessage(TabProxy* tab, const IPC::Message& msg, bool ui_thread); @@ -359,13 +359,14 @@ class ChromeFrameAutomationClient const std::string& redirect_url, int redirect_status); virtual void OnReadComplete(int request_id, const std::string& data); virtual void OnResponseEnd(int request_id, const URLRequestStatus& status); - virtual bool SendIPCMessage(IPC::Message* msg); + virtual void OnCookiesRetrieved(bool success, const GURL& url, + const std::string& cookie_string, int cookie_id); public: void SetUrlFetcher(PluginUrlRequestManager* url_fetcher) { DCHECK(url_fetcher != NULL); url_fetcher_ = url_fetcher; - thread_safe_url_fetcher_ = url_fetcher->IsThreadSafe(); + url_fetcher_flags_ = url_fetcher->GetThreadSafeFlags(); url_fetcher_->set_delegate(this); } }; |