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

Side by Side Diff: content/child/blob_storage/blob_transport_controller_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 "content/child/blob_storage/blob_transport_controller.h" 5 #include "content/child/blob_storage/blob_transport_controller.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/memory/shared_memory.h" 10 #include "base/memory/shared_memory.h"
8 #include "content/child/blob_storage/blob_consolidation.h" 11 #include "content/child/blob_storage/blob_consolidation.h"
9 #include "storage/common/blob_storage/blob_item_bytes_request.h" 12 #include "storage/common/blob_storage/blob_item_bytes_request.h"
10 #include "storage/common/blob_storage/blob_item_bytes_response.h" 13 #include "storage/common/blob_storage/blob_item_bytes_response.h"
11 #include "testing/gmock/include/gmock/gmock.h" 14 #include "testing/gmock/include/gmock/gmock.h"
12 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
13 16
14 using storage::BlobItemBytesRequest; 17 using storage::BlobItemBytesRequest;
15 using storage::BlobItemBytesResponse; 18 using storage::BlobItemBytesResponse;
16 using storage::DataElement; 19 using storage::DataElement;
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 std::vector<storage::BlobItemBytesResponse> output; 238 std::vector<storage::BlobItemBytesResponse> output;
236 239
237 // Error conditions 240 // Error conditions
238 EXPECT_EQ(ResponsesStatus::BLOB_NOT_FOUND, 241 EXPECT_EQ(ResponsesStatus::BLOB_NOT_FOUND,
239 holder->GetResponses(kBadBlobUUID, requests, &memory_handles, 242 holder->GetResponses(kBadBlobUUID, requests, &memory_handles,
240 file_handles, &output)); 243 file_handles, &output));
241 EXPECT_EQ(0u, output.size()); 244 EXPECT_EQ(0u, output.size());
242 } 245 }
243 246
244 } // namespace content 247 } // namespace content
OLDNEW
« no previous file with comments | « content/child/blob_storage/blob_transport_controller.h ('k') | content/child/browser_font_resource_trusted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698