OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PREDIC
ATE_EVALUATORS_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PREDIC
ATE_EVALUATORS_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PREDIC
ATE_EVALUATORS_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PREDIC
ATE_EVALUATORS_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <vector> | 9 #include <vector> |
9 | 10 |
10 #include "base/memory/scoped_ptr.h" | |
11 #include "chrome/browser/extensions/api/declarative_content/content_predicate_ev
aluator.h" | 11 #include "chrome/browser/extensions/api/declarative_content/content_predicate_ev
aluator.h" |
12 | 12 |
13 namespace content { | 13 namespace content { |
14 class BrowserContext; | 14 class BrowserContext; |
15 } // namespace content | 15 } // namespace content |
16 | 16 |
17 namespace extensions { | 17 namespace extensions { |
18 | 18 |
19 std::vector<scoped_ptr<ContentPredicateEvaluator>> | 19 std::vector<std::unique_ptr<ContentPredicateEvaluator>> |
20 CreateDefaultContentPredicateEvaluators( | 20 CreateDefaultContentPredicateEvaluators( |
21 content::BrowserContext* browser_context, | 21 content::BrowserContext* browser_context, |
22 ContentPredicateEvaluator::Delegate* delegate); | 22 ContentPredicateEvaluator::Delegate* delegate); |
23 | 23 |
24 } // namespace extensions | 24 } // namespace extensions |
25 | 25 |
26 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PRE
DICATE_EVALUATORS_H_ | 26 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_CONTENT_DEFAULT_CONTENT_PRE
DICATE_EVALUATORS_H_ |
OLD | NEW |