Index: chrome/browser/sync/sync_setup_flow.cc |
=================================================================== |
--- chrome/browser/sync/sync_setup_flow.cc (revision 84869) |
+++ chrome/browser/sync/sync_setup_flow.cc (working copy) |
@@ -16,8 +16,6 @@ |
#include "chrome/browser/profiles/profile.h" |
#include "chrome/browser/sync/profile_sync_service.h" |
#include "chrome/browser/sync/sync_setup_flow_handler.h" |
-#include "chrome/browser/ui/browser.h" |
-#include "chrome/browser/ui/browser_dialogs.h" |
#include "chrome/browser/ui/browser_list.h" |
#include "chrome/common/net/gaia/google_service_auth_error.h" |
#include "chrome/common/pref_names.h" |
@@ -68,12 +66,7 @@ |
std::string json_args; |
base::JSONWriter::Write(&args, false, &json_args); |
- SyncSetupFlow* flow = new SyncSetupFlow(start, end, json_args, |
- container, service); |
- |
- Browser* b = BrowserList::GetLastActive(); |
- b->ShowOptionsTab(chrome::kSyncSetupSubPage); |
- return flow; |
+ return new SyncSetupFlow(start, end, json_args, container, service); |
} |
// static |