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

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

Issue 7977034: Revert 102184 - [Sync] use base::Time in sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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
===================================================================
--- chrome/browser/sync/glue/session_model_associator.h (revision 102184)
+++ chrome/browser/sync/glue/session_model_associator.h (working copy)
@@ -18,7 +18,6 @@
#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"
@@ -141,7 +140,7 @@
// Load and associate window and tab data for a foreign session
bool AssociateForeignSpecifics(const sync_pb::SessionSpecifics& specifics,
- const base::Time& modification_time);
+ int64 modification_time);
// Removes a foreign session from our internal bookkeeping.
void DisassociateForeignSession(const std::string& foreign_session_tag);
@@ -376,13 +375,13 @@
static void PopulateSessionWindowFromSpecifics(
const std::string& foreign_session_tag,
const sync_pb::SessionWindow& window,
- const base::Time& mtime,
+ const int64 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 base::Time& mtime,
+ const int64 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