summaryrefslogtreecommitdiffstats
path: root/base/values.cc
diff options
context:
space:
mode:
authorrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 06:39:20 +0000
committerrdevlin.cronin@chromium.org <rdevlin.cronin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-09 06:39:20 +0000
commitbf591cac2af9412d0987dc4ddd4a59014ddd81b1 (patch)
treede0469e1fe9f447d795cccac218350e9428c962e /base/values.cc
parent56573d7e81c0fbc9f2d4cd279031b9a2862ff3bd (diff)
downloadchromium_src-bf591cac2af9412d0987dc4ddd4a59014ddd81b1.zip
chromium_src-bf591cac2af9412d0987dc4ddd4a59014ddd81b1.tar.gz
chromium_src-bf591cac2af9412d0987dc4ddd4a59014ddd81b1.tar.bz2
Move BrowserAction references from ExtensionPrefs to ExtensionActionAPI
BUG=180083 TBR=ben@chromium.org, thakis@chromium.org, dbeam@chromium.org ben - gypi, ui/views/, chrome_notification_types thakis - ui/cocoa/ dbeam - ui/webui/ (All just refactoring changes.) Review URL: https://chromiumcodereview.appspot.com/14699002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199151 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/values.cc')
-rw-r--r--base/values.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/values.cc b/base/values.cc
index 316463fb..6699885 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);
}