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

Side by Side Diff: chrome/browser/extensions/api/declarative/initializing_rules_registry.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
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
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__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698