| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading | 5 // See http://dev.chromium.org/developers/design-documents/multi-process-resourc
e-loading |
| 6 | 6 |
| 7 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" | 7 #include "chrome/browser/renderer_host/resource_dispatcher_host.h" |
| 8 | 8 |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 #include "net/base/mime_util.h" | 43 #include "net/base/mime_util.h" |
| 44 #include "net/base/net_errors.h" | 44 #include "net/base/net_errors.h" |
| 45 #include "net/base/ssl_cert_request_info.h" | 45 #include "net/base/ssl_cert_request_info.h" |
| 46 #include "net/url_request/url_request.h" | 46 #include "net/url_request/url_request.h" |
| 47 #include "webkit/glue/webappcachecontext.h" | 47 #include "webkit/glue/webappcachecontext.h" |
| 48 | 48 |
| 49 // TODO(port): Move these includes to the above section when porting is done. | 49 // TODO(port): Move these includes to the above section when porting is done. |
| 50 #if defined(OS_POSIX) | 50 #if defined(OS_POSIX) |
| 51 #include "chrome/common/temp_scaffolding_stubs.h" | 51 #include "chrome/common/temp_scaffolding_stubs.h" |
| 52 #elif defined(OS_WIN) | 52 #elif defined(OS_WIN) |
| 53 #include "chrome/browser/login_prompt.h" | |
| 54 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 53 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
| 55 #include "chrome/browser/safe_browsing/safe_browsing_service.h" | 54 #include "chrome/browser/safe_browsing/safe_browsing_service.h" |
| 56 #endif | 55 #endif |
| 57 | 56 |
| 57 #if defined(OS_WIN) || defined(OS_LINUX) |
| 58 #include "chrome/browser/login_prompt.h" |
| 59 #endif |
| 60 |
| 58 // Uncomment to enable logging of request traffic. | 61 // Uncomment to enable logging of request traffic. |
| 59 // #define LOG_RESOURCE_DISPATCHER_REQUESTS | 62 // #define LOG_RESOURCE_DISPATCHER_REQUESTS |
| 60 | 63 |
| 61 #ifdef LOG_RESOURCE_DISPATCHER_REQUESTS | 64 #ifdef LOG_RESOURCE_DISPATCHER_REQUESTS |
| 62 # define RESOURCE_LOG(stuff) LOG(INFO) << stuff | 65 # define RESOURCE_LOG(stuff) LOG(INFO) << stuff |
| 63 #else | 66 #else |
| 64 # define RESOURCE_LOG(stuff) | 67 # define RESOURCE_LOG(stuff) |
| 65 #endif | 68 #endif |
| 66 | 69 |
| 67 using base::Time; | 70 using base::Time; |
| (...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1552 case ViewHostMsg_UploadProgress_ACK::ID: | 1555 case ViewHostMsg_UploadProgress_ACK::ID: |
| 1553 case ViewHostMsg_SyncLoad::ID: | 1556 case ViewHostMsg_SyncLoad::ID: |
| 1554 return true; | 1557 return true; |
| 1555 | 1558 |
| 1556 default: | 1559 default: |
| 1557 break; | 1560 break; |
| 1558 } | 1561 } |
| 1559 | 1562 |
| 1560 return false; | 1563 return false; |
| 1561 } | 1564 } |
| OLD | NEW |