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

Side by Side Diff: chrome/browser/renderer_host/resource_message_filter.h

Issue 342068: Third patch in getting rid of caching MessageLoop pointers and always using C... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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) 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_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
7 7
8 #if defined(OS_WIN) 8 #if defined(OS_WIN)
9 #include <windows.h> 9 #include <windows.h>
10 #endif 10 #endif
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 // ResourceDispatcherHost::Receiver methods: 101 // ResourceDispatcherHost::Receiver methods:
102 virtual bool Send(IPC::Message* message); 102 virtual bool Send(IPC::Message* message);
103 virtual URLRequestContext* GetRequestContext( 103 virtual URLRequestContext* GetRequestContext(
104 uint32 request_id, 104 uint32 request_id,
105 const ViewHostMsg_Resource_Request& request_data); 105 const ViewHostMsg_Resource_Request& request_data);
106 106
107 SpellChecker* spellchecker() { return spellchecker_.get(); } 107 SpellChecker* spellchecker() { return spellchecker_.get(); }
108 ResourceDispatcherHost* resource_dispatcher_host() { 108 ResourceDispatcherHost* resource_dispatcher_host() {
109 return resource_dispatcher_host_; 109 return resource_dispatcher_host_;
110 } 110 }
111 MessageLoop* ui_loop();
112 bool off_the_record() { return off_the_record_; } 111 bool off_the_record() { return off_the_record_; }
113 CallbackWithReturnValue<int>::Type* next_route_id_callback() { 112 CallbackWithReturnValue<int>::Type* next_route_id_callback() {
114 return next_route_id_callback_.get(); 113 return next_route_id_callback_.get();
115 } 114 }
116 115
117 // NotificationObserver implementation. 116 // NotificationObserver implementation.
118 virtual void Observe(NotificationType type, 117 virtual void Observe(NotificationType type,
119 const NotificationSource& source, 118 const NotificationSource& source,
120 const NotificationDetails& details); 119 const NotificationDetails& details);
121 120
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
386 // Whether this process is used for off the record tabs. 385 // Whether this process is used for off the record tabs.
387 bool off_the_record_; 386 bool off_the_record_;
388 387
389 // A callback to create a routing id for the associated renderer process. 388 // A callback to create a routing id for the associated renderer process.
390 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; 389 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_;
391 390
392 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); 391 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter);
393 }; 392 };
394 393
395 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_ 394 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MSG_FILTER_H_
OLDNEW
« no previous file with comments | « chrome/browser/renderer_host/render_widget_host_view_win.cc ('k') | chrome/browser/renderer_host/resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698