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

Side by Side Diff: extensions/common/api/declarative_net_request/rules_indexer_util.h

Issue 2881453002: DNR Prototype: With flatbuffers
Patch Set: -- Created 3 years, 6 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <string>
6 #include <utility>
7
8 #include "extensions/common/api/declarative_net_request/constants.h"
9
10 #ifndef EXTENSIONS_COMMON_API_DECLARATIVE_NET_REQUEST_RULES_INDEXER_UTIL_H_
11 #define EXTENSIONS_COMMON_API_DECLARATIVE_NET_REQUEST_RULES_INDEXER_UTIL_H_
12
13 namespace base {
14 class FilePath;
15 }
16
17 namespace extensions {
18 namespace declarative_net_request {
19
20 // This must be called on a thread where file IO is allowed.
21 bool IndexAndPersistRuleset(const base::FilePath& json_rules_path,
22 const base::FilePath& indexed_ruleset_path,
23 std::string* error);
24
25 } // namespace declarative_net_request
26 } // namespace extensions
27
28 #endif // EXTENSIONS_COMMON_API_DECLARATIVE_NET_REQUEST_RULES_INDEXER_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698