| 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/public/browser/web_contents.h" | 5 #include "content/public/browser/web_contents.h" |
| 6 | 6 |
| 7 #include "ipc/ipc_message.h" | 7 #include "ipc/ipc_message.h" |
| 8 | 8 |
| 9 namespace content { | 9 namespace content { |
| 10 | 10 |
| 11 WebContents::CreateParams::CreateParams(BrowserContext* context) | 11 WebContents::CreateParams::CreateParams(BrowserContext* context) |
| 12 : browser_context(context), | 12 : browser_context(context), |
| 13 site_instance(NULL), | 13 site_instance(NULL), |
| 14 opener(NULL), |
| 14 routing_id(MSG_ROUTING_NONE), | 15 routing_id(MSG_ROUTING_NONE), |
| 15 main_frame_routing_id(MSG_ROUTING_NONE), | 16 main_frame_routing_id(MSG_ROUTING_NONE), |
| 16 context(NULL) {} | 17 context(NULL) {} |
| 17 | 18 |
| 18 WebContents::CreateParams::CreateParams( | 19 WebContents::CreateParams::CreateParams( |
| 19 BrowserContext* context, SiteInstance* site) | 20 BrowserContext* context, SiteInstance* site) |
| 20 : browser_context(context), | 21 : browser_context(context), |
| 21 site_instance(site), | 22 site_instance(site), |
| 23 opener(NULL), |
| 22 routing_id(MSG_ROUTING_NONE), | 24 routing_id(MSG_ROUTING_NONE), |
| 23 main_frame_routing_id(MSG_ROUTING_NONE), | 25 main_frame_routing_id(MSG_ROUTING_NONE), |
| 24 context(NULL) {} | 26 context(NULL) {} |
| 25 | 27 |
| 26 } // namespace content | 28 } // namespace content |
| OLD | NEW |