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

Unified Diff: chrome/browser/sync/profile_sync_service_session_unittest.cc

Issue 7981006: [Sync] use base::Time in sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head, fix comment and lint 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/profile_sync_service_session_unittest.cc
diff --git a/chrome/browser/sync/profile_sync_service_session_unittest.cc b/chrome/browser/sync/profile_sync_service_session_unittest.cc
index fd28aa3b7574ed04f7952c2482da377d0cd9a7e4..60aef79665a164ce3c042a7ca2d736ed493f7a1d 100644
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
@@ -10,6 +10,7 @@
#include "base/scoped_temp_dir.h"
#include "base/stl_util.h"
#include "base/task.h"
+#include "base/time.h"
#include "base/tracked.h"
#include "chrome/browser/sessions/session_service_factory.h"
#include "chrome/browser/sessions/session_service.h"
@@ -315,8 +316,8 @@ TEST_F(ProfileSyncServiceSessionTest, WriteForeignSessionToNode) {
// Update the server with the session specifics.
{
- model_associator_->AssociateForeignSpecifics(meta_specifics, 0);
- model_associator_->AssociateForeignSpecifics(tab_specifics, 0);
+ model_associator_->AssociateForeignSpecifics(meta_specifics, base::Time());
+ model_associator_->AssociateForeignSpecifics(tab_specifics, base::Time());
}
// Check that the foreign session was associated and retrieve the data.

Powered by Google App Engine
This is Rietveld 408576698