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

Side by Side Diff: chrome_frame/chrome_frame_automation.h

Issue 6056007: net: Add namespace net to the remaining files under url_request directory. (Closed)
Patch Set: chromeos fixes Created 9 years, 11 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
« no previous file with comments | « chrome_frame/cfproxy.h ('k') | chrome_frame/chrome_frame_delegate.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) 2010 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_FRAME_CHROME_FRAME_AUTOMATION_H_ 5 #ifndef CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ 6 #define CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
7 7
8 #include <atlbase.h> 8 #include <atlbase.h>
9 #include <atlwin.h> 9 #include <atlwin.h>
10 #include <string> 10 #include <string>
11 #include <map> 11 #include <map>
(...skipping 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
493 493
494 bool ProcessUrlRequestMessage(TabProxy* tab, const IPC::Message& msg, 494 bool ProcessUrlRequestMessage(TabProxy* tab, const IPC::Message& msg,
495 bool ui_thread); 495 bool ui_thread);
496 496
497 // PluginUrlRequestDelegate implementation. Simply adds tab's handle 497 // PluginUrlRequestDelegate implementation. Simply adds tab's handle
498 // as parameter and forwards to Chrome via IPC. 498 // as parameter and forwards to Chrome via IPC.
499 virtual void OnResponseStarted(int request_id, const char* mime_type, 499 virtual void OnResponseStarted(int request_id, const char* mime_type,
500 const char* headers, int size, base::Time last_modified, 500 const char* headers, int size, base::Time last_modified,
501 const std::string& redirect_url, int redirect_status); 501 const std::string& redirect_url, int redirect_status);
502 virtual void OnReadComplete(int request_id, const std::string& data); 502 virtual void OnReadComplete(int request_id, const std::string& data);
503 virtual void OnResponseEnd(int request_id, const URLRequestStatus& status); 503 virtual void OnResponseEnd(int request_id,
504 const net::URLRequestStatus& status);
504 virtual void OnCookiesRetrieved(bool success, const GURL& url, 505 virtual void OnCookiesRetrieved(bool success, const GURL& url,
505 const std::string& cookie_string, int cookie_id); 506 const std::string& cookie_string, int cookie_id);
506 507
507 bool is_initialized() const { 508 bool is_initialized() const {
508 return init_state_ == INITIALIZED; 509 return init_state_ == INITIALIZED;
509 } 510 }
510 511
511 HWND parent_window_; 512 HWND parent_window_;
512 base::PlatformThreadId ui_thread_id_; 513 base::PlatformThreadId ui_thread_id_;
513 514
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
559 // set to true if the host needs to get notified of all top level navigations 560 // set to true if the host needs to get notified of all top level navigations
560 // in this page. This typically applies to hosts which would render the new 561 // in this page. This typically applies to hosts which would render the new
561 // page without chrome frame. Defaults to false. 562 // page without chrome frame. Defaults to false.
562 bool route_all_top_level_navigations_; 563 bool route_all_top_level_navigations_;
563 564
564 friend class BeginNavigateContext; 565 friend class BeginNavigateContext;
565 friend class CreateExternalTabContext; 566 friend class CreateExternalTabContext;
566 }; 567 };
567 568
568 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_ 569 #endif // CHROME_FRAME_CHROME_FRAME_AUTOMATION_H_
OLDNEW
« no previous file with comments | « chrome_frame/cfproxy.h ('k') | chrome_frame/chrome_frame_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698