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

Unified Diff: base/values.cc

Issue 14699002: Move BrowserAction references from ExtensionPrefs to ExtensionActionAPI (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/values.cc
diff --git a/base/values.cc b/base/values.cc
index 316463fbcb72227e599f59d15efa1dabcf287b53..66998853435687b7b2ecf9019458183903378c69 100644
--- a/base/values.cc
+++ b/base/values.cc
@@ -464,8 +464,10 @@ void DictionaryValue::SetStringWithoutPathExpansion(
bool DictionaryValue::Get(
const std::string& path, const Value** out_value) const {
DCHECK(IsStringUTF8(path));
+// LOG(WARNING) << "\n1\n";
std::string current_path(path);
const DictionaryValue* current_dictionary = this;
+// LOG(WARNING) << "\n2\n";
for (size_t delimiter_position = current_path.find('.');
delimiter_position != std::string::npos;
delimiter_position = current_path.find('.')) {
@@ -477,6 +479,7 @@ bool DictionaryValue::Get(
current_dictionary = child_dictionary;
current_path.erase(0, delimiter_position + 1);
}
+// LOG(WARNING) << "\n3\n";
return current_dictionary->GetWithoutPathExpansion(current_path, out_value);
}
« no previous file with comments | « no previous file | chrome/browser/extensions/api/developer_private/developer_private_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698