Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(422)

Side by Side Diff: chrome/browser/extensions/api/declarative_content/default_content_predicate_evaluators.h

Issue 1871713002: Convert //chrome/browser/extensions from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and fix header Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698