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

Unified Diff: chrome/browser/policy/policy_browsertest.cc

Issue 2061633002: Separate time variables for 32 and 64 bit systems in policy_browsertest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: TODO added Created 4 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/policy/policy_browsertest.cc
diff --git a/chrome/browser/policy/policy_browsertest.cc b/chrome/browser/policy/policy_browsertest.cc
index f8822a1f3b0145aa998da0309f83c88ee86b217a..62235ec59b5f378532d5c7fe76c549f7e95a4586 100644
--- a/chrome/browser/policy/policy_browsertest.cc
+++ b/chrome/browser/policy/policy_browsertest.cc
@@ -246,7 +246,13 @@ const int kThreeHoursInMs = 180 * 60 * 1000;
const char kURL[] = "http://example.com";
const char kCookieValue[] = "converted=true";
// Assigned to Philip J. Fry to fix eventually.
+// TODO(maksims): remove architecture check
+// in the future. https://crbug.com/619828
pastarmovj 2016/06/14 15:22:48 What I meant however was to remove the #ifdef comp
+#if defined(OS_LINUX) && defined(ARCH_CPU_64_BITS)
const char kCookieOptions[] = ";expires=Wed Jan 01 3000 00:00:00 GMT";
+#else
+const char kCookieOptions[] = ";expires=Wed Jan 01 2038 00:00:00 GMT";
+#endif
const base::FilePath::CharType kTestExtensionsDir[] =
FILE_PATH_LITERAL("extensions");
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698