OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #include "chrome/browser/chromeos/extensions/file_manager_util.h" | 4 #include "chrome/browser/extensions/file_manager_util.h" |
5 | 5 |
6 #include "base/bind.h" | 6 #include "base/bind.h" |
7 #include "base/json/json_writer.h" | 7 #include "base/json/json_writer.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/metrics/histogram.h" | 9 #include "base/metrics/histogram.h" |
10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
11 #include "base/string_util.h" | 11 #include "base/string_util.h" |
12 #include "base/utf_string_conversions.h" | 12 #include "base/utf_string_conversions.h" |
13 #include "base/values.h" | 13 #include "base/values.h" |
14 #include "chrome/browser/plugin_prefs.h" | 14 #include "chrome/browser/plugin_prefs.h" |
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 browser::ShowErrorBox( | 338 browser::ShowErrorBox( |
339 browser->window()->GetNativeHandle(), | 339 browser->window()->GetNativeHandle(), |
340 l10n_util::GetStringFUTF16( | 340 l10n_util::GetStringFUTF16( |
341 IDS_FILEBROWSER_ERROR_VIEWING_FILE_TITLE, | 341 IDS_FILEBROWSER_ERROR_VIEWING_FILE_TITLE, |
342 UTF8ToUTF16(full_path.BaseName().value())), | 342 UTF8ToUTF16(full_path.BaseName().value())), |
343 l10n_util::GetStringUTF16( | 343 l10n_util::GetStringUTF16( |
344 IDS_FILEBROWSER_ERROR_VIEWING_FILE)); | 344 IDS_FILEBROWSER_ERROR_VIEWING_FILE)); |
345 } | 345 } |
346 | 346 |
347 } // namespace file_manager_util | 347 } // namespace file_manager_util |
| 348 |
OLD | NEW |