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

Unified Diff: components/sync_sessions/session_data_type_controller.cc

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_sessions/session_data_type_controller.cc
diff --git a/components/sync_sessions/session_data_type_controller.cc b/components/sync_sessions/session_data_type_controller.cc
index 5f88d4ec8a00da425846330a32ae5d42939c5792..fa5609002ead9ebced18f55a48f55a9d6c542e7f 100644
--- a/components/sync_sessions/session_data_type_controller.cc
+++ b/components/sync_sessions/session_data_type_controller.cc
@@ -12,7 +12,7 @@
#include "components/sync_sessions/synced_window_delegate.h"
#include "components/sync_sessions/synced_window_delegates_getter.h"
-namespace browser_sync {
+namespace sync_sessions {
SessionDataTypeController::SessionDataTypeController(
const base::Closure& dump_stack,
@@ -37,12 +37,11 @@ SessionDataTypeController::~SessionDataTypeController() {}
bool SessionDataTypeController::StartModels() {
DCHECK(CalledOnValidThread());
- browser_sync::SyncedWindowDelegatesGetter* synced_window_getter =
+ SyncedWindowDelegatesGetter* synced_window_getter =
sync_client_->GetSyncSessionsClient()->GetSyncedWindowDelegatesGetter();
- std::set<const browser_sync::SyncedWindowDelegate*> window =
+ std::set<const SyncedWindowDelegate*> window =
synced_window_getter->GetSyncedWindowDelegates();
- for (std::set<const browser_sync::SyncedWindowDelegate*>::const_iterator i =
- window.begin();
+ for (std::set<const SyncedWindowDelegate*>::const_iterator i = window.begin();
i != window.end(); ++i) {
if ((*i)->IsSessionRestoreInProgress()) {
waiting_on_session_restore_ = true;
@@ -111,4 +110,4 @@ void SessionDataTypeController::OnSavingBrowserHistoryPrefChanged() {
}
}
-} // namespace browser_sync
+} // namespace sync_sessions

Powered by Google App Engine
This is Rietveld 408576698