| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" | 5 #include "chrome/browser/extensions/api/system_display/display_info_provider.h" |
| 6 | 6 |
| 7 namespace extensions { | 7 namespace extensions { |
| 8 | 8 |
| 9 void DisplayInfoProvider::SetInfo( | 9 bool DisplayInfoProvider::SetInfo(const std::string& display_id, |
| 10 const std::string& display_id, | |
| 11 const api::system_display::DisplayProperties& info, | 10 const api::system_display::DisplayProperties& info, |
| 12 const SetInfoCallback& callback) { | 11 std::string* error) { |
| 13 base::MessageLoopProxy::current()->PostTask( | 12 *error = "Not Implemented"; |
| 14 FROM_HERE, | 13 return false; |
| 15 base::Bind(callback, false, "Not implemented")); | |
| 16 } | 14 } |
| 17 | 15 |
| 18 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( | 16 void DisplayInfoProvider::UpdateDisplayUnitInfoForPlatform( |
| 19 const gfx::Display& display, | 17 const gfx::Display& display, |
| 20 extensions::api::system_display::DisplayUnitInfo* unit) { | 18 extensions::api::system_display::DisplayUnitInfo* unit) { |
| 21 NOTIMPLEMENTED(); | 19 NOTIMPLEMENTED(); |
| 22 } | 20 } |
| 23 | 21 |
| 24 } // namespace extensions | 22 } // namespace extensions |
| OLD | NEW |