Chromium Code Reviews| 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 | |
|
jianli
2012/11/12 23:00:55
nit: extra empty line not needed
dewittj
2012/11/13 06:58:54
Fixed
| |
| 9 | |
| 10 class ExtensionService; | |
| 11 namespace extensions { | |
|
jianli
2012/11/12 23:00:55
nit: empty line before this line
dewittj
2012/11/13 06:58:54
Fixed
| |
| 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; | |
|
jianli
2012/11/12 23:00:55
nit: space alignment
dewittj
2012/11/13 06:58:54
Fixed
| |
| 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 |