OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
6 #define CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ | 6 #define CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 #include <stdint.h> |
| 10 |
8 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
9 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
10 #include "base/sequenced_task_runner_helpers.h" | 13 #include "base/sequenced_task_runner_helpers.h" |
11 #include "content/common/content_export.h" | 14 #include "content/common/content_export.h" |
12 | 15 |
13 namespace base { | 16 namespace base { |
14 class FilePath; | 17 class FilePath; |
15 class Time; | 18 class Time; |
16 } | 19 } |
17 | 20 |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 | 74 |
72 struct ChromeBlobStorageContextDeleter { | 75 struct ChromeBlobStorageContextDeleter { |
73 static void Destruct(const ChromeBlobStorageContext* context) { | 76 static void Destruct(const ChromeBlobStorageContext* context) { |
74 context->DeleteOnCorrectThread(); | 77 context->DeleteOnCorrectThread(); |
75 } | 78 } |
76 }; | 79 }; |
77 | 80 |
78 } // namespace content | 81 } // namespace content |
79 | 82 |
80 #endif // CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ | 83 #endif // CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
OLD | NEW |