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

Unified Diff: chrome/browser/sync/glue/session_model_associator.h

Issue 7981006: [Sync] use base::Time in sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux compile errors Created 9 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: chrome/browser/sync/glue/session_model_associator.h
diff --git a/chrome/browser/sync/glue/session_model_associator.h b/chrome/browser/sync/glue/session_model_associator.h
index 61e7360e4e6f5df8ede7e58c9d9b41d6193ca328..de178dd9fa78c649d28835705ae3cf51bd160ec5 100644
--- a/chrome/browser/sync/glue/session_model_associator.h
+++ b/chrome/browser/sync/glue/session_model_associator.h
@@ -18,6 +18,7 @@
#include "base/observer_list.h"
#include "base/stringprintf.h"
#include "base/threading/non_thread_safe.h"
+#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "chrome/browser/sessions/session_id.h"
#include "chrome/browser/sessions/session_service.h"
@@ -140,7 +141,7 @@ class SessionModelAssociator
// Load and associate window and tab data for a foreign session
bool AssociateForeignSpecifics(const sync_pb::SessionSpecifics& specifics,
- int64 modification_time);
+ const base::Time& modification_time);
// Removes a foreign session from our internal bookkeeping.
void DisassociateForeignSession(const std::string& foreign_session_tag);
@@ -375,13 +376,13 @@ class SessionModelAssociator
static void PopulateSessionWindowFromSpecifics(
const std::string& foreign_session_tag,
const sync_pb::SessionWindow& window,
- const int64 mtime,
+ const base::Time& mtime,
SessionWindow* session_window,
SyncedSessionTracker* tracker);
// Used to populate a session tab from the session specifics tab provided.
static void PopulateSessionTabFromSpecifics(const sync_pb::SessionTab& tab,
- const int64 mtime,
+ const base::Time& mtime,
SessionTab* session_tab);
// Used to populate a session tab from the session specifics tab provided.
« no previous file with comments | « chrome/browser/sync/glue/session_change_processor.cc ('k') | chrome/browser/sync/glue/session_model_associator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698