OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROME_BLOB_STORAGE_CONTEXT_H_ | 5 #ifndef CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
6 #define CONTENT_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_ | 6 #define CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/message_loop_helpers.h" | 11 #include "base/message_loop_helpers.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "content/public/browser/browser_thread.h" | 13 #include "content/public/browser/browser_thread.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class BrowserContext; | 16 class BrowserContext; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 scoped_ptr<webkit_blob::BlobStorageController> controller_; | 53 scoped_ptr<webkit_blob::BlobStorageController> controller_; |
54 }; | 54 }; |
55 | 55 |
56 struct ChromeBlobStorageContextDeleter { | 56 struct ChromeBlobStorageContextDeleter { |
57 static void Destruct(const ChromeBlobStorageContext* context) { | 57 static void Destruct(const ChromeBlobStorageContext* context) { |
58 context->DeleteOnCorrectThread(); | 58 context->DeleteOnCorrectThread(); |
59 } | 59 } |
60 }; | 60 }; |
61 | 61 |
62 #endif // CONTENT_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_ | 62 #endif // CONTENT_BROWSER_FILEAPI_CHROME_BLOB_STORAGE_CONTEXT_H_ |
OLD | NEW |