Chromium Code Reviews

Side by Side 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: Removed binary png to allow try servers to pass Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "chrome/browser/extensions/api/system_indicator/system_indicator_api.h"
Pete Williamson 2012/11/13 18:01:41 As I recall, coding standards say that this should
dewittj 2012/11/14 00:25:07 Good catch, fixed
6 #include "chrome/browser/extensions/extension_system.h"
7 #include "chrome/common/extensions/api/experimental_system_indicator.h"
8
9 namespace extensions {
10
11 SystemIndicatorSetURLFunction::SystemIndicatorSetURLFunction() {}
12
13 bool SystemIndicatorSetURLFunction::RunImpl() {
14 scoped_ptr<api::experimental_system_indicator::SetURL::Params> params(
15 api::experimental_system_indicator::SetURL::Params::Create(*args_));
16 EXTENSION_FUNCTION_VALIDATE(params.get());
17
18 return true;
19 }
20
21 SystemIndicatorSetImageDataFunction::SystemIndicatorSetImageDataFunction() {}
22
23 bool SystemIndicatorSetImageDataFunction::RunImpl() {
24 scoped_ptr<api::experimental_system_indicator::SetImageData::Params> params(
25 api::experimental_system_indicator::SetImageData::Params::Create(*args_));
26 EXTENSION_FUNCTION_VALIDATE(params.get());
27 return true;
28 }
29
30 SystemIndicatorShowFunction::SystemIndicatorShowFunction() {}
31
32 bool SystemIndicatorShowFunction::RunImpl() {
33 return true;
34 }
35
36 SystemIndicatorHideFunction::SystemIndicatorHideFunction() {}
37
38 bool SystemIndicatorHideFunction::RunImpl() {
39 return true;
40 }
41
42 } // namespace extensions
OLDNEW

Powered by Google App Engine