Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(690)

Side by Side Diff: chrome/browser/sync/sync_setup_flow.cc

Issue 337034: Remove the browser_sync flag. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.h ('k') | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #if defined(BROWSER_SYNC)
6
7 #include "chrome/browser/sync/sync_setup_flow.h" 5 #include "chrome/browser/sync/sync_setup_flow.h"
8 6
9 #include "app/gfx/font.h" 7 #include "app/gfx/font.h"
10 #include "app/gfx/font_util.h" 8 #include "app/gfx/font_util.h"
11 #include "base/histogram.h" 9 #include "base/histogram.h"
12 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
13 #include "base/json/json_writer.h" 11 #include "base/json/json_writer.h"
14 #include "base/string_util.h" 12 #include "base/string_util.h"
15 #include "base/utf_string_conversions.h" 13 #include "base/utf_string_conversions.h"
16 #include "base/values.h" 14 #include "base/values.h"
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 if (!b) 291 if (!b)
294 return NULL; 292 return NULL;
295 293
296 FlowHandler* handler = new FlowHandler(); 294 FlowHandler* handler = new FlowHandler();
297 SyncSetupFlow* flow = new SyncSetupFlow(start, end, json_args, 295 SyncSetupFlow* flow = new SyncSetupFlow(start, end, json_args,
298 container, handler, service); 296 container, handler, service);
299 handler->set_flow(flow); 297 handler->set_flow(flow);
300 b->BrowserShowHtmlDialog(flow, NULL); 298 b->BrowserShowHtmlDialog(flow, NULL);
301 return flow; 299 return flow;
302 } 300 }
303
304 #endif // defined(BROWSER_SYNC)
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_setup_flow.h ('k') | chrome/browser/sync/sync_setup_wizard.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698