| OLD | NEW |
| 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 #ifdef CHROME_PERSONALIZATION | 5 #ifdef CHROME_PERSONALIZATION |
| 6 | 6 |
| 7 #include "chrome/browser/sync/sync_setup_flow.h" | 7 #include "chrome/browser/sync/sync_setup_flow.h" |
| 8 | 8 |
| 9 #include "app/gfx/font.h" | 9 #include "app/gfx/font.h" |
| 10 #include "app/gfx/font_util.h" | 10 #include "app/gfx/font_util.h" |
| (...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 JSONWriter::Write(&args, false, &json_args); | 290 JSONWriter::Write(&args, false, &json_args); |
| 291 | 291 |
| 292 Browser* b = BrowserList::GetLastActive(); | 292 Browser* b = BrowserList::GetLastActive(); |
| 293 if (!b) | 293 if (!b) |
| 294 return NULL; | 294 return NULL; |
| 295 | 295 |
| 296 FlowHandler* handler = new FlowHandler(); | 296 FlowHandler* handler = new FlowHandler(); |
| 297 SyncSetupFlow* flow = new SyncSetupFlow(start, end, json_args, | 297 SyncSetupFlow* flow = new SyncSetupFlow(start, end, json_args, |
| 298 container, handler, service); | 298 container, handler, service); |
| 299 handler->set_flow(flow); | 299 handler->set_flow(flow); |
| 300 b->BrowserShowHtmlDialog(flow, NULL); | 300 b->BrowserShowHtmlDialog(flow, service->GetWizardParent()); |
| 301 return flow; | 301 return flow; |
| 302 } | 302 } |
| 303 | 303 |
| 304 #endif // CHROME_PERSONALIZATION | 304 #endif // CHROME_PERSONALIZATION |
| OLD | NEW |