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

Side by Side Diff: chrome/browser/extensions/api/declarative/test_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_TEST_RULES_REGISTRY_H__ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_TEST_RULES_REGISTRY_H__
6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_TEST_RULES_REGISTRY_H__ 6 #define CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_TEST_RULES_REGISTRY_H__
7 #pragma once
8 7
9 #include "chrome/browser/extensions/api/declarative/rules_registry_with_cache.h" 8 #include "chrome/browser/extensions/api/declarative/rules_registry_with_cache.h"
10 9
11 namespace extensions { 10 namespace extensions {
12 11
13 // This is a trivial test RulesRegistry that can only store and retrieve rules. 12 // This is a trivial test RulesRegistry that can only store and retrieve rules.
14 class TestRulesRegistry : public RulesRegistryWithCache { 13 class TestRulesRegistry : public RulesRegistryWithCache {
15 public: 14 public:
16 TestRulesRegistry(); 15 TestRulesRegistry();
17 16
(...skipping 20 matching lines...) Expand all
38 private: 37 private:
39 // The string that gets returned by the implementation functions of 38 // The string that gets returned by the implementation functions of
40 // RulesRegistryWithCache. Defaults to "". 39 // RulesRegistryWithCache. Defaults to "".
41 std::string result_; 40 std::string result_;
42 content::BrowserThread::ID owner_thread_; 41 content::BrowserThread::ID owner_thread_;
43 }; 42 };
44 43
45 } // namespace extensions 44 } // namespace extensions
46 45
47 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_TEST_RULES_REGISTRY_H__ 46 #endif // CHROME_BROWSER_EXTENSIONS_API_DECLARATIVE_TEST_RULES_REGISTRY_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698