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

Side by Side Diff: chrome/browser/ui/sync/profile_signin_confirmation_helper.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 months 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
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/ui/sync/profile_signin_confirmation_helper.h" 5 #include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 #include "chrome/browser/bookmarks/bookmark_model_factory.h" 10 #include "chrome/browser/bookmarks/bookmark_model_factory.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 89
90 if (HasBeenShutdown(profile) || 90 if (HasBeenShutdown(profile) ||
91 HasBookmarks(profile) || 91 HasBookmarks(profile) ||
92 HasSyncedExtensions(profile)) { 92 HasSyncedExtensions(profile)) {
93 return_result.Run(true); 93 return_result.Run(true);
94 return; 94 return;
95 } 95 }
96 history::HistoryService* service = 96 history::HistoryService* service =
97 HistoryServiceFactory::GetForProfileWithoutCreating(profile); 97 HistoryServiceFactory::GetForProfileWithoutCreating(profile);
98 // Fire asynchronous queries for profile data. 98 // Fire asynchronous queries for profile data.
99 sync_driver::SigninConfirmationHelper* helper = 99 browser_sync::SigninConfirmationHelper* helper =
100 new sync_driver::SigninConfirmationHelper(service, return_result); 100 new browser_sync::SigninConfirmationHelper(service, return_result);
101 helper->CheckHasHistory(kHistoryEntriesBeforeNewProfilePrompt); 101 helper->CheckHasHistory(kHistoryEntriesBeforeNewProfilePrompt);
102 helper->CheckHasTypedURLs(); 102 helper->CheckHasTypedURLs();
103 } 103 }
104 104
105 } // namespace ui 105 } // namespace ui
OLDNEW
« no previous file with comments | « chrome/browser/ui/sync/one_click_signin_sync_starter.cc ('k') | chrome/browser/ui/toolbar/recent_tabs_sub_menu_model.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698