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

Side by Side Diff: chrome/browser/sync/glue/synced_session_tracker.h

Issue 1361613002: Move all core files in //components/sessions into core/ subdir (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 2 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_TRACKER_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_TRACKER_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_TRACKER_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_TRACKER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/basictypes.h" 13 #include "base/basictypes.h"
14 #include "components/sessions/session_id.h" 14 #include "components/sessions/core/session_id.h"
15 #include "components/sessions/session_types.h" 15 #include "components/sessions/core/session_types.h"
16 #include "components/sync_driver/glue/synced_session.h" 16 #include "components/sync_driver/glue/synced_session.h"
17 #include "components/sync_driver/tab_node_pool.h" 17 #include "components/sync_driver/tab_node_pool.h"
18 18
19 namespace browser_sync { 19 namespace browser_sync {
20 20
21 // Class to manage synced sessions. The tracker will own all SyncedSession 21 // Class to manage synced sessions. The tracker will own all SyncedSession
22 // and SyncedSessionTab objects it creates, and deletes them appropriately on 22 // and SyncedSessionTab objects it creates, and deletes them appropriately on
23 // destruction. 23 // destruction.
24 // Note: SyncedSession objects are created for all synced sessions, including 24 // Note: SyncedSession objects are created for all synced sessions, including
25 // the local session (whose tag we maintain separately). 25 // the local session (whose tag we maintain separately).
(...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 // The tag for this machine's local session, so we can distinguish the foreign 247 // The tag for this machine's local session, so we can distinguish the foreign
248 // sessions. 248 // sessions.
249 std::string local_session_tag_; 249 std::string local_session_tag_;
250 250
251 DISALLOW_COPY_AND_ASSIGN(SyncedSessionTracker); 251 DISALLOW_COPY_AND_ASSIGN(SyncedSessionTracker);
252 }; 252 };
253 253
254 } // namespace browser_sync 254 } // namespace browser_sync
255 255
256 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_TRACKER_H_ 256 #endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_TRACKER_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/session_sync_test_helper.h ('k') | chrome/browser/sync/glue/synced_session_tracker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698