diff options
author | thestig <thestig@chromium.org> | 2015-09-24 21:58:36 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-09-25 04:59:13 +0000 |
commit | a0e18cd977a07253976834dadb8d08a2d5630460 (patch) | |
tree | 593b5c7b83f66e5f9a992f91023fa39bf699d51c /extensions/browser/api/declarative | |
parent | 787d405d41fcb60aa0a8e45b0c6e5d4a9bbe75d5 (diff) | |
download | chromium_src-a0e18cd977a07253976834dadb8d08a2d5630460.zip chromium_src-a0e18cd977a07253976834dadb8d08a2d5630460.tar.gz chromium_src-a0e18cd977a07253976834dadb8d08a2d5630460.tar.bz2 |
Cleanup: IWYU for base/gtest_prod_util.h.
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
TBR=pneubeck@chromium.org
Review URL: https://codereview.chromium.org/1366123002
Cr-Commit-Position: refs/heads/master@{#350770}
Diffstat (limited to 'extensions/browser/api/declarative')
-rw-r--r-- | extensions/browser/api/declarative/rules_registry.cc | 2 | ||||
-rw-r--r-- | extensions/browser/api/declarative/rules_registry.h | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/extensions/browser/api/declarative/rules_registry.cc b/extensions/browser/api/declarative/rules_registry.cc index a3a62d8..1dde7d5 100644 --- a/extensions/browser/api/declarative/rules_registry.cc +++ b/extensions/browser/api/declarative/rules_registry.cc @@ -232,7 +232,7 @@ void RulesRegistry::GetRules(const std::string& extension_id, } void RulesRegistry::GetRules(const std::string& extension_id, - RulesDictionary& rules, + const RulesDictionary& rules, std::vector<linked_ptr<api::events::Rule>>* out) { for (const auto& i : rules) { const RulesDictionaryKey& key = i.first; diff --git a/extensions/browser/api/declarative/rules_registry.h b/extensions/browser/api/declarative/rules_registry.h index e94d143..57b1417 100644 --- a/extensions/browser/api/declarative/rules_registry.h +++ b/extensions/browser/api/declarative/rules_registry.h @@ -12,7 +12,6 @@ #include "base/callback_forward.h" #include "base/compiler_specific.h" -#include "base/gtest_prod_util.h" #include "base/memory/scoped_ptr.h" #include "base/memory/weak_ptr.h" #include "content/public/browser/browser_thread.h" @@ -196,7 +195,7 @@ class RulesRegistry : public base::RefCountedThreadSafe<RulesRegistry> { // Same as GetRules but returns all rules owned by |extension_id| for a given // |rules| dictionary. void GetRules(const std::string& extension_id, - RulesDictionary& rules, + const RulesDictionary& rules, std::vector<linked_ptr<api::events::Rule>>* out); // Common processing after extension's rules have changed. |