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

Side by Side Diff: content/browser/blob_storage/blob_async_transport_strategy_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 12 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "storage/browser/blob/blob_async_transport_strategy.h" 5 #include "storage/browser/blob/blob_async_transport_strategy.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <string> 10 #include <string>
8 11
9 #include "base/logging.h" 12 #include "base/logging.h"
10 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
11 14
12 namespace storage { 15 namespace storage {
13 namespace { 16 namespace {
14 17
15 const char kNewUUID[] = "newUUID"; 18 const char kNewUUID[] = "newUUID";
16 const base::FilePath kFuturePopulatingFilePath = base::FilePath::FromUTF8Unsafe( 19 const base::FilePath kFuturePopulatingFilePath = base::FilePath::FromUTF8Unsafe(
(...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 strategy.Initialize(100, // max_ipc_memory_size 449 strategy.Initialize(100, // max_ipc_memory_size
447 200, // max_shared_memory_size 450 200, // max_shared_memory_size
448 400, // max_file_size 451 400, // max_file_size
449 5000, // disk_space_left 452 5000, // disk_space_left
450 100, // memory_left 453 100, // memory_left
451 kNewUUID, infos); 454 kNewUUID, infos);
452 EXPECT_EQ(BlobAsyncTransportStrategy::ERROR_INVALID_PARAMS, 455 EXPECT_EQ(BlobAsyncTransportStrategy::ERROR_INVALID_PARAMS,
453 strategy.error()); 456 strategy.error());
454 } 457 }
455 } // namespace storage 458 } // namespace storage
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698