| Index: chrome/browser/extensions/api/declarative/declarative_api.cc
|
| diff --git a/chrome/browser/extensions/api/declarative/declarative_api.cc b/chrome/browser/extensions/api/declarative/declarative_api.cc
|
| index ce226fd6f844af5d5bb6f93f5ab77440cc1c965a..5665e8f941bf59ee5184fe1fbf5cdd8c0451a330 100644
|
| --- a/chrome/browser/extensions/api/declarative/declarative_api.cc
|
| +++ b/chrome/browser/extensions/api/declarative/declarative_api.cc
|
| @@ -20,22 +20,6 @@ namespace AddRules = extensions::api::events::Event::AddRules;
|
| namespace GetRules = extensions::api::events::Event::GetRules;
|
| namespace RemoveRules = extensions::api::events::Event::RemoveRules;
|
|
|
| -namespace {
|
| -
|
| -// Adds all entries from |list| to |out|. Assumes that all entries of |list|
|
| -// are strings. Returns true if successful.
|
| -bool AddAllStringValues(ListValue* list, std::vector<std::string>* out) {
|
| - for (ListValue::iterator i = list->begin(); i != list->end(); ++i) {
|
| - std::string value;
|
| - if (!(*i)->GetAsString(&value))
|
| - return false;
|
| - out->push_back(value);
|
| - }
|
| - return true;
|
| -}
|
| -
|
| -} // namespace
|
| -
|
| namespace extensions {
|
|
|
| RulesFunction::RulesFunction() : rules_registry_(NULL) {}
|
|
|