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

Unified Diff: components/sync_sessions/tab_node_pool.h

Issue 1443453002: [Sync] Move sessions files from sync_driver to sync_sessions. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove ui/gfx deps. Created 5 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 side-by-side diff with in-line comments
Download patch
Index: components/sync_sessions/tab_node_pool.h
diff --git a/components/sync_driver/tab_node_pool.h b/components/sync_sessions/tab_node_pool.h
similarity index 97%
rename from components/sync_driver/tab_node_pool.h
rename to components/sync_sessions/tab_node_pool.h
index 6cb6a93b786530c434bb6954f48e2d5a29976fb0..d2539c0832ac13a6ac2175bfa447865dfdd6dee4 100644
--- a/components/sync_driver/tab_node_pool.h
+++ b/components/sync_sessions/tab_node_pool.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_
-#define COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_
+#ifndef COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_
+#define COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_
#include <map>
#include <set>
@@ -41,9 +41,7 @@ class TabNodePool {
public:
TabNodePool();
~TabNodePool();
- enum InvalidTab {
- kInvalidTabID = -1
- };
+ enum InvalidTab { kInvalidTabID = -1 };
// If free nodes > kFreeNodesHighWatermark, delete all free nodes until
// free nodes <= kFreeNodesLowWatermark.
@@ -161,4 +159,4 @@ class TabNodePool {
} // namespace browser_sync
-#endif // COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_
+#endif // COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_
« no previous file with comments | « components/sync_sessions/synced_window_delegates_getter.cc ('k') | components/sync_sessions/tab_node_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698