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

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

Issue 789643004: Move chrome.alarms API from chrome/ to extensions/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years, 11 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 | « chrome/browser/extensions/extension_function_test_utils.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_test_utils.cc
diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc
index 9c65d9307d325f6ed798728e4ef697c1743f53f2..ae9560a0a66880544cbe38752c2efb7a25141207 100644
--- a/chrome/browser/extensions/extension_function_test_utils.cc
+++ b/chrome/browser/extensions/extension_function_test_utils.cc
@@ -70,15 +70,6 @@ base::ListValue* ToList(base::Value* val) {
return static_cast<base::ListValue*>(val);
}
-scoped_refptr<Extension> CreateEmptyExtensionWithLocation(
- Manifest::Location location) {
- scoped_ptr<base::DictionaryValue> test_extension_value(
- extensions::api_test_utils::ParseDictionary(
- "{\"name\": \"Test\", \"version\": \"1.0\"}"));
- return extensions::api_test_utils::CreateExtension(
- location, test_extension_value.get(), std::string());
-}
-
bool HasPrivacySensitiveFields(base::DictionaryValue* val) {
std::string result;
if (val->GetString(keys::kUrlKey, &result) ||
« no previous file with comments | « chrome/browser/extensions/extension_function_test_utils.h ('k') | chrome/chrome_browser_extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698