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

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: 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/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 62009483e8801f31a97a12e6877ef70b5195dcc7..ca8b54e4c596587009d8ecc839d9b189cc925073 100644
--- a/chrome/browser/sync/profile_sync_service_session_unittest.cc
+++ b/chrome/browser/sync/profile_sync_service_session_unittest.cc
@@ -11,6 +11,7 @@
#include "base/scoped_temp_dir.h"
#include "base/stl_util.h"
#include "base/task.h"
+#include "base/time.h"
#include "chrome/browser/sessions/session_service_factory.h"
#include "chrome/browser/sessions/session_service.h"
#include "chrome/browser/sessions/session_service_test_helper.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.
« no previous file with comments | « chrome/browser/sync/internal_api/syncapi_unittest.cc ('k') | chrome/browser/sync/sessions/sync_session_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698