| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "content/browser/renderer_host/render_view_host_impl.h" | 5 #include "content/browser/renderer_host/render_view_host_impl.h" |
| 6 | 6 |
| 7 #include <set> | 7 #include <set> |
| 8 #include <string> | 8 #include <string> |
| 9 #include <utility> | 9 #include <utility> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 265 is_focused_element_editable_(false), | 265 is_focused_element_editable_(false), |
| 266 updating_web_preferences_(false), | 266 updating_web_preferences_(false), |
| 267 render_view_ready_on_process_launch_(false), | 267 render_view_ready_on_process_launch_(false), |
| 268 weak_factory_(this) { | 268 weak_factory_(this) { |
| 269 DCHECK(instance_.get()); | 269 DCHECK(instance_.get()); |
| 270 CHECK(delegate_); // http://crbug.com/82827 | 270 CHECK(delegate_); // http://crbug.com/82827 |
| 271 | 271 |
| 272 GetWidget()->set_owner_delegate(this); | 272 GetWidget()->set_owner_delegate(this); |
| 273 | 273 |
| 274 GetProcess()->AddObserver(this); | 274 GetProcess()->AddObserver(this); |
| 275 GetProcess()->EnableSendQueue(); | |
| 276 | 275 |
| 277 if (ResourceDispatcherHostImpl::Get()) { | 276 if (ResourceDispatcherHostImpl::Get()) { |
| 278 BrowserThread::PostTask( | 277 BrowserThread::PostTask( |
| 279 BrowserThread::IO, FROM_HERE, | 278 BrowserThread::IO, FROM_HERE, |
| 280 base::Bind(&ResourceDispatcherHostImpl::OnRenderViewHostCreated, | 279 base::Bind(&ResourceDispatcherHostImpl::OnRenderViewHostCreated, |
| 281 base::Unretained(ResourceDispatcherHostImpl::Get()), | 280 base::Unretained(ResourceDispatcherHostImpl::Get()), |
| 282 GetProcess()->GetID(), GetRoutingID())); | 281 GetProcess()->GetID(), GetRoutingID())); |
| 283 } | 282 } |
| 284 } | 283 } |
| 285 | 284 |
| (...skipping 1045 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1331 // Note: We are using the origin URL provided by the sender here. It may be | 1330 // Note: We are using the origin URL provided by the sender here. It may be |
| 1332 // different from the receiver's. | 1331 // different from the receiver's. |
| 1333 file_system_file.url = | 1332 file_system_file.url = |
| 1334 GURL(storage::GetIsolatedFileSystemRootURIString( | 1333 GURL(storage::GetIsolatedFileSystemRootURIString( |
| 1335 file_system_url.origin(), filesystem_id, std::string()) | 1334 file_system_url.origin(), filesystem_id, std::string()) |
| 1336 .append(register_name)); | 1335 .append(register_name)); |
| 1337 } | 1336 } |
| 1338 } | 1337 } |
| 1339 | 1338 |
| 1340 } // namespace content | 1339 } // namespace content |
| OLD | NEW |