OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_INITIALIZING_RULES_REGISTRY_H_
_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_INITIALIZING_RULES_REGISTRY_H_
_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_INITIALIZING_RULES_REGISTRY_H_
_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_INITIALIZING_RULES_REGISTRY_H_
_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/api/declarative/rules_registry.h" | 8 #include "chrome/browser/extensions/api/declarative/rules_registry.h" |
10 | 9 |
11 #include <map> | 10 #include <map> |
12 #include <set> | 11 #include <set> |
13 | 12 |
14 #include "base/compiler_specific.h" | 13 #include "base/compiler_specific.h" |
15 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
16 | 15 |
17 namespace extensions { | 16 namespace extensions { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 scoped_refptr<RulesRegistry> delegate_; | 75 scoped_refptr<RulesRegistry> delegate_; |
77 | 76 |
78 typedef std::map<std::string, std::set<std::string> > RuleIdentifiersMap; | 77 typedef std::map<std::string, std::set<std::string> > RuleIdentifiersMap; |
79 RuleIdentifiersMap used_rule_identifiers_; | 78 RuleIdentifiersMap used_rule_identifiers_; |
80 int last_generated_rule_identifier_id_; | 79 int last_generated_rule_identifier_id_; |
81 }; | 80 }; |
82 | 81 |
83 } // namespace extensions | 82 } // namespace extensions |
84 | 83 |
85 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_INITIALIZING_RULES_REGISTRY
_H__ | 84 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_INITIALIZING_RULES_REGISTRY
_H__ |
OLD | NEW |