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_CHROME_BLOB_STORAGE_CONTEXT_H_ |
6 #define CONTENT_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_ | 6 #define CONTENT_BROWSER_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 "content/browser/browser_thread.h" | |
12 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
| 12 #include "content/public/browser/browser_thread.h" |
13 | 13 |
14 class GURL; | 14 class GURL; |
15 | 15 |
16 namespace webkit_blob { | 16 namespace webkit_blob { |
17 class BlobStorageController; | 17 class BlobStorageController; |
18 } | 18 } |
19 | 19 |
20 // A context class that keeps track of BlobStorageController used by the chrome. | 20 // A context class that keeps track of BlobStorageController used by the chrome. |
21 // There is an instance associated with each BrowserContext. There could be | 21 // There is an instance associated with each BrowserContext. There could be |
22 // multiple URLRequestContexts in the same browser context that refers to the | 22 // multiple URLRequestContexts in the same browser context that refers to the |
(...skipping 18 matching lines...) Expand all Loading... |
41 BrowserThread::DeleteOnIOThread>; | 41 BrowserThread::DeleteOnIOThread>; |
42 friend class BrowserThread; | 42 friend class BrowserThread; |
43 friend class DeleteTask<ChromeBlobStorageContext>; | 43 friend class DeleteTask<ChromeBlobStorageContext>; |
44 | 44 |
45 virtual ~ChromeBlobStorageContext(); | 45 virtual ~ChromeBlobStorageContext(); |
46 | 46 |
47 scoped_ptr<webkit_blob::BlobStorageController> controller_; | 47 scoped_ptr<webkit_blob::BlobStorageController> controller_; |
48 }; | 48 }; |
49 | 49 |
50 #endif // CONTENT_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_ | 50 #endif // CONTENT_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_ |
OLD | NEW |