OLD | NEW |
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 Loading... |
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 |
OLD | NEW |