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/chromeos/extensions/file_manager/private_api_strings.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_strings.h" |
6 | 6 |
7 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" | 7 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" |
| 8 #include "chrome/browser/chromeos/extensions/file_manager/open_with_browser.h" |
8 #include "chrome/browser/chromeos/system/statistics_provider.h" | 9 #include "chrome/browser/chromeos/system/statistics_provider.h" |
9 #include "grit/app_locale_settings.h" | 10 #include "grit/app_locale_settings.h" |
10 #include "grit/generated_resources.h" | 11 #include "grit/generated_resources.h" |
11 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
12 #include "ui/webui/web_ui_util.h" | 13 #include "ui/webui/web_ui_util.h" |
13 | 14 |
14 namespace file_manager { | 15 namespace file_manager { |
15 | 16 |
16 GetStringsFunction::GetStringsFunction() { | 17 GetStringsFunction::GetStringsFunction() { |
17 } | 18 } |
(...skipping 498 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
516 chromeos::system::StatisticsProvider::GetInstance(); | 517 chromeos::system::StatisticsProvider::GetInstance(); |
517 if (!provider->GetMachineStatistic(chromeos::system::kMachineInfoBoard, | 518 if (!provider->GetMachineStatistic(chromeos::system::kMachineInfoBoard, |
518 &board)) { | 519 &board)) { |
519 board = "unknown"; | 520 board = "unknown"; |
520 } | 521 } |
521 dict->SetString(chromeos::system::kMachineInfoBoard, board); | 522 dict->SetString(chromeos::system::kMachineInfoBoard, board); |
522 return true; | 523 return true; |
523 } | 524 } |
524 | 525 |
525 } // namespace file_manager | 526 } // namespace file_manager |
OLD | NEW |