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 #ifndef EXTENSIONS_BROWSER_CONTENT_HASH_FETCHER_H_ | 5 #ifndef EXTENSIONS_BROWSER_CONTENT_HASH_FETCHER_H_ |
6 #define EXTENSIONS_BROWSER_CONTENT_HASH_FETCHER_H_ | 6 #define EXTENSIONS_BROWSER_CONTENT_HASH_FETCHER_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/callback.h" | 11 #include "base/callback.h" |
12 #include "base/files/file_path.h" | 12 #include "base/files/file_path.h" |
| 13 #include "base/macros.h" |
13 #include "base/memory/weak_ptr.h" | 14 #include "base/memory/weak_ptr.h" |
14 #include "extensions/common/extension.h" | 15 #include "extensions/common/extension.h" |
15 | 16 |
16 namespace content { | 17 namespace content { |
17 class BrowserContext; | 18 class BrowserContext; |
18 } | 19 } |
19 | 20 |
20 namespace extensions { | 21 namespace extensions { |
21 | 22 |
22 class ExtensionRegistry; | 23 class ExtensionRegistry; |
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 75 |
75 // Used for binding callbacks passed to jobs. | 76 // Used for binding callbacks passed to jobs. |
76 base::WeakPtrFactory<ContentHashFetcher> weak_ptr_factory_; | 77 base::WeakPtrFactory<ContentHashFetcher> weak_ptr_factory_; |
77 | 78 |
78 DISALLOW_COPY_AND_ASSIGN(ContentHashFetcher); | 79 DISALLOW_COPY_AND_ASSIGN(ContentHashFetcher); |
79 }; | 80 }; |
80 | 81 |
81 } // namespace extensions | 82 } // namespace extensions |
82 | 83 |
83 #endif // EXTENSIONS_BROWSER_CONTENT_HASH_FETCHER_H_ | 84 #endif // EXTENSIONS_BROWSER_CONTENT_HASH_FETCHER_H_ |
OLD | NEW |