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

Unified Diff: chrome/browser/extensions/api/system_indicator/system_indicator_api.cc

Issue 11361189: Initial skeleton for System Indicator API (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Add manifest parsing and integrate with extension action api handlers. Created 8 years, 1 month 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/api/system_indicator/system_indicator_api.cc
diff --git a/chrome/browser/extensions/api/system_indicator/system_indicator_api.cc b/chrome/browser/extensions/api/system_indicator/system_indicator_api.cc
new file mode 100644
index 0000000000000000000000000000000000000000..192ecf6355a21f78ceae3d4fc4b3927c7b972448
--- /dev/null
+++ b/chrome/browser/extensions/api/system_indicator/system_indicator_api.cc
@@ -0,0 +1,25 @@
+// Copyright (c) 2012 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 "chrome/browser/extensions/api/system_indicator/system_indicator_api.h"
+
+#include "base/values.h"
+#include "chrome/browser/extensions/extension_service.h"
+#include "chrome/browser/extensions/extension_system.h"
+#include "chrome/browser/profiles/profile.h"
+#include "chrome/common/extensions/api/system_indicator.h"
+
+namespace extensions {
+
+bool SystemIndicatorEnableFunction::ValidateArguments() {
+ // No arguments besides the callback.
+ return true;
not at google - send to devlin 2012/11/21 23:39:23 oh I didn't realise the reason for the change to V
dewittj 2012/11/26 18:32:58 Done.
+}
+
+bool SystemIndicatorDisableFunction::ValidateArguments() {
+ // No arguments besides the callback.
+ return true;
+}
+
+} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698