OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_info_display/display_info_provide
r.h" | 5 #include "chrome/browser/extensions/api/system_info_display/display_info_provide
r.h" |
6 | 6 |
7 namespace extensions { | 7 namespace extensions { |
8 | 8 |
| 9 void DisplayInfoProvider::RequestInfo(const RequestInfoCallback& callback) { |
| 10 // Redirect the request to a worker pool thread. |
| 11 StartQueryInfo(callback); |
| 12 } |
| 13 |
9 // TODO(hongbo): implement X11 display info querying. | 14 // TODO(hongbo): implement X11 display info querying. |
10 bool DisplayInfoProvider::QueryInfo(DisplayInfo* info) { | 15 bool DisplayInfoProvider::QueryInfo(DisplayInfo* info) { |
11 return false; | 16 return false; |
12 } | 17 } |
13 | 18 |
14 } // namespace extensions | 19 } // namespace extensions |
OLD | NEW |