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

Unified Diff: components/sync_sessions/sync_sessions_metrics.h

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
« no previous file with comments | « components/sync_sessions/sync_sessions_client.h ('k') | components/sync_sessions/sync_sessions_metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_sessions/sync_sessions_metrics.h
diff --git a/components/sync_sessions/sync_sessions_metrics.h b/components/sync_sessions/sync_sessions_metrics.h
index 6d9b63aad0ac107a1629cc62cd8d9e12e6a4126f..90770b42118870c71009f568069a2e02817d3a11 100644
--- a/components/sync_sessions/sync_sessions_metrics.h
+++ b/components/sync_sessions/sync_sessions_metrics.h
@@ -11,15 +11,10 @@ namespace base {
class Time;
} // namespace base
-namespace browser_sync {
-class SessionsSyncManager;
-} // namespace browser_sync
+namespace sync_sessions {
-namespace sync_driver {
+class SessionsSyncManager;
struct SyncedSession;
-} // namespace sync_driver
-
-namespace sync_sessions {
class SyncSessionsMetrics {
public:
@@ -29,7 +24,7 @@ class SyncSessionsMetrics {
// session present, or a foreign tab with a timestamp in the future then no
// metric is emitted.
static void RecordYoungestForeignTabAgeOnNTP(
- browser_sync::SessionsSyncManager* sessions_sync_manager);
+ SessionsSyncManager* sessions_sync_manager);
private:
friend class SyncSessionsMetricsTest;
@@ -39,7 +34,7 @@ class SyncSessionsMetrics {
// always be greater or equal to children window/tab timestamps. No navigation
// timestamps are checked.
static base::Time MaxTabTimestamp(
- const std::vector<const sync_driver::SyncedSession*>& sessions);
+ const std::vector<const SyncedSession*>& sessions);
};
} // namespace sync_sessions
« no previous file with comments | « components/sync_sessions/sync_sessions_client.h ('k') | components/sync_sessions/sync_sessions_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698