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

Unified Diff: extensions/browser/extension_function_util.cc

Issue 1584473004: Migrate ProcessesEventRouter to the new task manager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix nit. Created 4 years, 9 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 | « extensions/browser/extension_function_util.h ('k') | extensions/extensions.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/extension_function_util.cc
diff --git a/extensions/browser/extension_function_util.cc b/extensions/browser/extension_function_util.cc
deleted file mode 100644
index 5e5e76341288808499301b5a9535ac7d519aa73b..0000000000000000000000000000000000000000
--- a/extensions/browser/extension_function_util.cc
+++ /dev/null
@@ -1,32 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <stddef.h>
-
-#include "extensions/browser/extension_function_util.h"
-
-namespace extensions {
-
-bool ReadOneOrMoreIntegers(base::Value* value, std::vector<int>* result) {
- if (value->IsType(base::Value::TYPE_INTEGER)) {
- int v = -1;
- if (!value->GetAsInteger(&v))
- return false;
- result->push_back(v);
- return true;
-
- } else if (value->IsType(base::Value::TYPE_LIST)) {
- base::ListValue* values = static_cast<base::ListValue*>(value);
- for (size_t i = 0; i < values->GetSize(); ++i) {
- int v = -1;
- if (!values->GetInteger(i, &v))
- return false;
- result->push_back(v);
- }
- return true;
- }
- return false;
-}
-
-} // namespace extensions
« no previous file with comments | « extensions/browser/extension_function_util.h ('k') | extensions/extensions.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698