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

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

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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_builder_host.h" 5 #include "storage/browser/blob/blob_async_builder_host.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 #include <string.h>
9 10
10 #include "base/bind.h" 11 #include "base/bind.h"
11 #include "base/logging.h" 12 #include "base/logging.h"
12 #include "base/memory/shared_memory.h" 13 #include "base/memory/shared_memory.h"
13 #include "storage/common/blob_storage/blob_storage_constants.h" 14 #include "storage/common/blob_storage/blob_storage_constants.h"
14 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
15 16
16 namespace storage { 17 namespace storage {
17 namespace { 18 namespace {
18 const std::string kBlobUUID = "blobUUIDYAY"; 19 const std::string kBlobUUID = "blobUUIDYAY";
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 EXPECT_TRUE(BuildBlobAsync(descriptions, 5010)); 318 EXPECT_TRUE(BuildBlobAsync(descriptions, 5010));
318 response1.request_number = 0; 319 response1.request_number = 0;
319 BlobItemBytesResponse response2(0); 320 BlobItemBytesResponse response2(0);
320 PopulateBytes(response2.allocate_mutable_data(2), 2); 321 PopulateBytes(response2.allocate_mutable_data(2), 2);
321 responses = {response1, response2}; 322 responses = {response1, response2};
322 EXPECT_FALSE(host_.OnMemoryResponses(kBlobUUID, responses)); 323 EXPECT_FALSE(host_.OnMemoryResponses(kBlobUUID, responses));
323 }; 324 };
324 325
325 } // namespace 326 } // namespace
326 } // namespace storage 327 } // namespace storage
OLDNEW
« no previous file with comments | « content/browser/appcache/appcache_url_request_job_unittest.cc ('k') | content/browser/browser_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698