Chromium Code Reviews| Index: content/browser/battery_status/battery_status_update_callback.h |
| diff --git a/content/browser/battery_status/battery_status_update_callback.h b/content/browser/battery_status/battery_status_update_callback.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b34a353c0f0dc59195e6210f5cb8842faf93bdd5 |
| --- /dev/null |
| +++ b/content/browser/battery_status/battery_status_update_callback.h |
| @@ -0,0 +1,18 @@ |
| +// 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. |
| + |
| +#ifndef CONTENT_BROWSER_BATTERY_STATUS_BATTERY_STATUS_UPDATE_CALLBACK_H_ |
| +#define CONTENT_BROWSER_BATTERY_STATUS_BATTERY_STATUS_UPDATE_CALLBACK_H_ |
| + |
| +#include "base/callback.h" |
| +#include "third_party/WebKit/public/platform/WebBatteryStatus.h" |
| + |
| +namespace content { |
| + |
| +typedef base::Callback<void(const blink::WebBatteryStatus&)> |
| + BatteryStatusUpdateCallback; |
|
bulach
2014/05/07 16:03:15
nit: would it make sense to put this into the mana
timvolodine
2014/05/09 15:23:49
this will be used by other classes as well, that's
|
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_BATTERY_STATUS_BATTERY_STATUS_UPDATE_CALLBACK_H_ |