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

Side by Side Diff: extensions/browser/api/declarative/test_rules_registry.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 4 years, 12 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 (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 EXTENSIONS_BROWSER_API_DECLARATIVE_TEST_RULES_REGISTRY_H__ 5 #ifndef EXTENSIONS_BROWSER_API_DECLARATIVE_TEST_RULES_REGISTRY_H__
6 #define EXTENSIONS_BROWSER_API_DECLARATIVE_TEST_RULES_REGISTRY_H__ 6 #define EXTENSIONS_BROWSER_API_DECLARATIVE_TEST_RULES_REGISTRY_H__
7 7
8 #include "base/macros.h"
8 #include "extensions/browser/api/declarative/rules_registry.h" 9 #include "extensions/browser/api/declarative/rules_registry.h"
9 10
10 namespace extensions { 11 namespace extensions {
11 12
12 // This is a trivial test RulesRegistry that can only store and retrieve rules. 13 // This is a trivial test RulesRegistry that can only store and retrieve rules.
13 class TestRulesRegistry : public RulesRegistry { 14 class TestRulesRegistry : public RulesRegistry {
14 public: 15 public:
15 TestRulesRegistry(content::BrowserThread::ID owner_thread, 16 TestRulesRegistry(content::BrowserThread::ID owner_thread,
16 const std::string& event_name, 17 const std::string& event_name,
17 int rules_registry_id); 18 int rules_registry_id);
(...skipping 23 matching lines...) Expand all
41 // The string that gets returned by the implementation functions of 42 // The string that gets returned by the implementation functions of
42 // RulesRegistry. Defaults to "". 43 // RulesRegistry. Defaults to "".
43 std::string result_; 44 std::string result_;
44 45
45 DISALLOW_COPY_AND_ASSIGN(TestRulesRegistry); 46 DISALLOW_COPY_AND_ASSIGN(TestRulesRegistry);
46 }; 47 };
47 48
48 } // namespace extensions 49 } // namespace extensions
49 50
50 #endif // EXTENSIONS_BROWSER_API_DECLARATIVE_TEST_RULES_REGISTRY_H__ 51 #endif // EXTENSIONS_BROWSER_API_DECLARATIVE_TEST_RULES_REGISTRY_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698