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

Side by Side Diff: content/browser/fileapi/blob_storage_context_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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_storage_context.h" 5 #include "storage/browser/blob/blob_storage_context.h"
6 6
7 #include <stdint.h>
8
7 #include <limits> 9 #include <limits>
8 #include <string> 10 #include <string>
9 11
10 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
11 #include "base/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
12 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
13 #include "base/message_loop/message_loop.h" 15 #include "base/message_loop/message_loop.h"
14 #include "base/run_loop.h" 16 #include "base/run_loop.h"
15 #include "base/time/time.h" 17 #include "base/time/time.h"
16 #include "content/browser/fileapi/blob_storage_host.h" 18 #include "content/browser/fileapi/blob_storage_host.h"
(...skipping 466 matching lines...) Expand 10 before | Expand all | Expand 10 after
483 EXPECT_FALSE(host.FinishBuildingBlob(kId, "text/plain")); 485 EXPECT_FALSE(host.FinishBuildingBlob(kId, "text/plain"));
484 EXPECT_FALSE(host.RegisterPublicBlobURL(kUrl, kId)); 486 EXPECT_FALSE(host.RegisterPublicBlobURL(kUrl, kId));
485 EXPECT_FALSE(host.IncrementBlobRefCount(kId)); 487 EXPECT_FALSE(host.IncrementBlobRefCount(kId));
486 EXPECT_FALSE(host.DecrementBlobRefCount(kId)); 488 EXPECT_FALSE(host.DecrementBlobRefCount(kId));
487 EXPECT_FALSE(host.RevokePublicBlobURL(kUrl)); 489 EXPECT_FALSE(host.RevokePublicBlobURL(kUrl));
488 } 490 }
489 491
490 // TODO(michaeln): tests for the depcrecated url stuff 492 // TODO(michaeln): tests for the depcrecated url stuff
491 493
492 } // namespace content 494 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/fileapi/blob_reader_unittest.cc ('k') | content/browser/fileapi/blob_storage_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698