OLD | NEW |
---|---|
(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" | |
6 #include "chrome/browser/extensions/extension_system.h" | |
7 #include "chrome/common/extensions/api/experimental_system_indicator.h" | |
8 | |
9 class ExtensionService; | |
dcheng
2012/11/13 00:52:19
This is probably unneeded.
dewittj
2012/11/13 06:58:54
Removed.
| |
10 | |
11 namespace extensions { | |
12 | |
13 SystemIndicatorSetURLFunction::SystemIndicatorSetURLFunction() {} | |
14 | |
15 bool SystemIndicatorSetURLFunction::RunImpl() { | |
16 scoped_ptr<api::experimental_system_indicator::SetURL::Params> params( | |
17 api::experimental_system_indicator::SetURL::Params::Create(*args_)); | |
18 EXTENSION_FUNCTION_VALIDATE(params.get()); | |
19 | |
20 return true; | |
21 } | |
22 | |
23 SystemIndicatorSetImageDataFunction::SystemIndicatorSetImageDataFunction() {} | |
24 | |
25 bool SystemIndicatorSetImageDataFunction::RunImpl() { | |
26 scoped_ptr<api::experimental_system_indicator::SetImageData::Params> params( | |
27 api::experimental_system_indicator::SetImageData::Params::Create(*args_)); | |
28 EXTENSION_FUNCTION_VALIDATE(params.get()); | |
29 return true; | |
30 } | |
31 | |
32 SystemIndicatorShowFunction::SystemIndicatorShowFunction() {} | |
33 | |
34 bool SystemIndicatorShowFunction::RunImpl() { | |
35 return true; | |
36 } | |
37 | |
38 SystemIndicatorHideFunction::SystemIndicatorHideFunction() {} | |
39 | |
40 bool SystemIndicatorHideFunction::RunImpl() { | |
41 return true; | |
42 } | |
43 | |
44 } // namespace extensions | |
OLD | NEW |