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

Unified Diff: chrome/browser/extensions/extension_function_test_utils.cc

Issue 8969011: Added populate parameter to chrome.windows.get, chrome.windows.getCurrent, (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 9 years 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
Index: chrome/browser/extensions/extension_function_test_utils.cc
===================================================================
--- chrome/browser/extensions/extension_function_test_utils.cc (revision 114830)
+++ chrome/browser/extensions/extension_function_test_utils.cc (working copy)
@@ -94,6 +94,12 @@
return static_cast<base::DictionaryValue*>(val);
}
+base::ListValue* ToList(base::Value* val) {
+ EXPECT_TRUE(val);
+ EXPECT_EQ(base::Value::TYPE_LIST, val->GetType());
+ return static_cast<base::ListValue*>(val);
+}
+
scoped_refptr<Extension> CreateEmptyExtension() {
std::string error;
const FilePath test_extension_path;

Powered by Google App Engine
This is Rietveld 408576698