| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #if defined(OS_WIN) | 9 #if defined(OS_WIN) |
| 10 #include <windows.h> | 10 #include <windows.h> |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 class RenderWidgetHelper; | 46 class RenderWidgetHelper; |
| 47 class URLRequestContextGetter; | 47 class URLRequestContextGetter; |
| 48 struct ViewHostMsg_CreateWindow_Params; | 48 struct ViewHostMsg_CreateWindow_Params; |
| 49 struct ViewHostMsg_CreateWorker_Params; | 49 struct ViewHostMsg_CreateWorker_Params; |
| 50 struct WebPluginInfo; | 50 struct WebPluginInfo; |
| 51 | 51 |
| 52 namespace base { | 52 namespace base { |
| 53 class SharedMemory; | 53 class SharedMemory; |
| 54 } | 54 } |
| 55 | 55 |
| 56 namespace device_orientation { |
| 57 class DispatcherHost; |
| 58 } |
| 59 |
| 56 namespace file_util { | 60 namespace file_util { |
| 57 struct FileInfo; | 61 struct FileInfo; |
| 58 } | 62 } |
| 59 | 63 |
| 60 namespace printing { | 64 namespace printing { |
| 61 class PrinterQuery; | 65 class PrinterQuery; |
| 62 class PrintJobManager; | 66 class PrintJobManager; |
| 63 } | 67 } |
| 64 | 68 |
| 65 namespace speech_input { | 69 namespace speech_input { |
| (...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 445 // A callback to create a routing id for the associated renderer process. | 449 // A callback to create a routing id for the associated renderer process. |
| 446 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; | 450 scoped_ptr<CallbackWithReturnValue<int>::Type> next_route_id_callback_; |
| 447 | 451 |
| 448 // Used to handle speech input related messages. | 452 // Used to handle speech input related messages. |
| 449 scoped_refptr<speech_input::SpeechInputDispatcherHost> | 453 scoped_refptr<speech_input::SpeechInputDispatcherHost> |
| 450 speech_input_dispatcher_host_; | 454 speech_input_dispatcher_host_; |
| 451 | 455 |
| 452 // Used to handle geolocation-related messages. | 456 // Used to handle geolocation-related messages. |
| 453 scoped_refptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 457 scoped_refptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 454 | 458 |
| 459 // Used to handle device orientation related messages. |
| 460 scoped_refptr<device_orientation::DispatcherHost> |
| 461 device_orientation_dispatcher_host_; |
| 462 |
| 455 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); | 463 DISALLOW_COPY_AND_ASSIGN(ResourceMessageFilter); |
| 456 }; | 464 }; |
| 457 | 465 |
| 458 // These classes implement completion callbacks for getting and setting | 466 // These classes implement completion callbacks for getting and setting |
| 459 // cookies. | 467 // cookies. |
| 460 class SetCookieCompletion : public net::CompletionCallback { | 468 class SetCookieCompletion : public net::CompletionCallback { |
| 461 public: | 469 public: |
| 462 SetCookieCompletion(int render_process_id, | 470 SetCookieCompletion(int render_process_id, |
| 463 int render_view_id, | 471 int render_view_id, |
| 464 const GURL& url, | 472 const GURL& url, |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 515 IPC::Message* reply_msg_; | 523 IPC::Message* reply_msg_; |
| 516 scoped_refptr<ResourceMessageFilter> filter_; | 524 scoped_refptr<ResourceMessageFilter> filter_; |
| 517 scoped_refptr<URLRequestContext> context_; | 525 scoped_refptr<URLRequestContext> context_; |
| 518 int render_process_id_; | 526 int render_process_id_; |
| 519 int render_view_id_; | 527 int render_view_id_; |
| 520 bool raw_cookies_; | 528 bool raw_cookies_; |
| 521 scoped_refptr<net::CookieStore> cookie_store_; | 529 scoped_refptr<net::CookieStore> cookie_store_; |
| 522 }; | 530 }; |
| 523 | 531 |
| 524 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ | 532 #endif // CHROME_BROWSER_RENDERER_HOST_RESOURCE_MESSAGE_FILTER_H_ |
| OLD | NEW |