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

Unified Diff: chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm

Issue 1543393002: Switch to standard integer types in chrome/browser/ui/cocoa/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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/ui/cocoa/content_settings/cookie_details_unittest.mm
diff --git a/chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm b/chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm
index 7e79313ebd6273dca06b9e1b94986ffe4d7b78b1..c4db6b17a74475675ec034ae47f665698b762903 100644
--- a/chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm
+++ b/chrome/browser/ui/cocoa/content_settings/cookie_details_unittest.mm
@@ -2,8 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
#include "base/strings/sys_string_conversions.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
+
#include "chrome/browser/ui/cocoa/content_settings/cookie_details.h"
#include "net/cookies/canonical_cookie.h"
#include "net/cookies/parsed_cookie.h"
@@ -59,7 +61,7 @@ TEST_F(CookiesDetailsTest, CreateForTreeDatabase) {
GURL origin("http://chromium.org");
std::string database_name("sassolungo");
std::string description("a great place to climb");
- int64 size = 1234;
+ int64_t size = 1234;
base::Time last_modified = base::Time::Now();
BrowsingDataDatabaseHelper::DatabaseInfo info(
storage::DatabaseIdentifier::CreateFromOrigin(origin),
@@ -89,7 +91,7 @@ TEST_F(CookiesDetailsTest, CreateForTreeDatabase) {
TEST_F(CookiesDetailsTest, CreateForTreeLocalStorage) {
base::scoped_nsobject<CocoaCookieDetails> details;
const GURL kOrigin("http://chromium.org/");
- int64 size = 1234;
+ int64_t size = 1234;
base::Time last_modified = base::Time::Now();
BrowsingDataLocalStorageHelper::LocalStorageInfo info(
kOrigin, size, last_modified);
@@ -147,7 +149,7 @@ TEST_F(CookiesDetailsTest, CreateForTreeIndexedDB) {
base::scoped_nsobject<CocoaCookieDetails> details;
GURL origin("http://moose.org/");
- int64 size = 1234;
+ int64_t size = 1234;
base::Time last_modified = base::Time::Now();
content::IndexedDBInfo info(origin,
size,
@@ -285,7 +287,7 @@ TEST_F(CookiesDetailsTest, CreateForTreeCacheStorage) {
base::scoped_nsobject<CocoaCookieDetails> details;
GURL origin("https://example.com/");
- int64 size = 1234;
+ int64_t size = 1234;
base::Time last_modified = base::Time::Now();
content::CacheStorageUsageInfo info(origin, size, last_modified);

Powered by Google App Engine
This is Rietveld 408576698