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 #ifndef CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_ | 4 #ifndef CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_ |
5 #define CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_ | 5 #define CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_ |
6 | 6 |
7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
8 #include "base/containers/mru_cache.h" | 8 #include "base/containers/mru_cache.h" |
9 #include "base/containers/scoped_ptr_hash_map.h" | 9 #include "base/containers/scoped_ptr_hash_map.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
12 #include "chrome/browser/bitmap_fetcher_delegate.h" | 12 #include "chrome/browser/bitmap_fetcher/bitmap_fetcher_delegate.h" |
13 #include "components/keyed_service/core/keyed_service.h" | 13 #include "components/keyed_service/core/keyed_service.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 class BrowserContext; | 16 class BrowserContext; |
17 } // namespace content | 17 } // namespace content |
18 | 18 |
19 namespace chrome { | 19 namespace chrome { |
20 class BitmapFetcher; | 20 class BitmapFetcher; |
21 } // namespace chrome | 21 } // namespace chrome |
22 | 22 |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // Current request ID to be used. | 101 // Current request ID to be used. |
102 int current_request_id_; | 102 int current_request_id_; |
103 | 103 |
104 // Browser context this service is active for. | 104 // Browser context this service is active for. |
105 content::BrowserContext* context_; | 105 content::BrowserContext* context_; |
106 | 106 |
107 DISALLOW_COPY_AND_ASSIGN(BitmapFetcherService); | 107 DISALLOW_COPY_AND_ASSIGN(BitmapFetcherService); |
108 }; | 108 }; |
109 | 109 |
110 #endif // CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_ | 110 #endif // CHROME_BROWSER_BITMAP_FETCHER_BITMAP_FETCHER_SERVICE_H_ |
OLD | NEW |