| 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 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" | 4 #include "chrome/browser/chromeos/extensions/file_manager/file_manager_util.h" |
| 5 | 5 |
| 6 #include "ash/shell.h" | 6 #include "ash/shell.h" |
| 7 #include "base/bind.h" | 7 #include "base/bind.h" |
| 8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
| 9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
| 10 #include "base/json/json_reader.h" | 10 #include "base/json/json_reader.h" |
| 11 #include "base/json/json_writer.h" | 11 #include "base/json/json_writer.h" |
| 12 #include "base/logging.h" | 12 #include "base/logging.h" |
| 13 #include "base/metrics/histogram.h" | 13 #include "base/metrics/histogram.h" |
| 14 #include "base/path_service.h" | 14 #include "base/path_service.h" |
| 15 #include "base/string_util.h" | 15 #include "base/string_util.h" |
| 16 #include "base/utf_string_conversions.h" | 16 #include "base/utf_string_conversions.h" |
| 17 #include "base/values.h" | 17 #include "base/values.h" |
| 18 #include "chrome/browser/chromeos/drive/drive.pb.h" | 18 #include "chrome/browser/chromeos/drive/drive.pb.h" |
| 19 #include "chrome/browser/chromeos/drive/drive_file_system.h" | 19 #include "chrome/browser/chromeos/drive/drive_file_system.h" |
| 20 #include "chrome/browser/chromeos/drive/drive_file_system_util.h" | 20 #include "chrome/browser/chromeos/drive/drive_file_system_util.h" |
| 21 #include "chrome/browser/chromeos/drive/drive_system_service.h" | 21 #include "chrome/browser/chromeos/drive/drive_system_service.h" |
| 22 #include "chrome/browser/chromeos/extensions/file_browser_handler.h" | 22 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" |
| 23 #include "chrome/browser/chromeos/extensions/file_manager/file_handler_util.h" | 23 #include "chrome/browser/chromeos/extensions/file_manager/file_handler_util.h" |
| 24 #include "chrome/browser/chromeos/media/media_player.h" | 24 #include "chrome/browser/chromeos/media/media_player.h" |
| 25 #include "chrome/browser/extensions/crx_installer.h" | 25 #include "chrome/browser/extensions/crx_installer.h" |
| 26 #include "chrome/browser/extensions/extension_install_prompt.h" | 26 #include "chrome/browser/extensions/extension_install_prompt.h" |
| 27 #include "chrome/browser/extensions/extension_service.h" | 27 #include "chrome/browser/extensions/extension_service.h" |
| 28 #include "chrome/browser/extensions/extension_system.h" | 28 #include "chrome/browser/extensions/extension_system.h" |
| 29 #include "chrome/browser/google_apis/task_util.h" | 29 #include "chrome/browser/google_apis/task_util.h" |
| 30 #include "chrome/browser/plugins/plugin_prefs.h" | 30 #include "chrome/browser/plugins/plugin_prefs.h" |
| 31 #include "chrome/browser/profiles/profile.h" | 31 #include "chrome/browser/profiles/profile.h" |
| 32 #include "chrome/browser/profiles/profile_manager.h" | 32 #include "chrome/browser/profiles/profile_manager.h" |
| (...skipping 929 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 962 for (google_apis::OperationProgressStatusList::const_iterator iter = | 962 for (google_apis::OperationProgressStatusList::const_iterator iter = |
| 963 list.begin(); | 963 list.begin(); |
| 964 iter != list.end(); ++iter) { | 964 iter != list.end(); ++iter) { |
| 965 result_list->Append( | 965 result_list->Append( |
| 966 ProgessStatusToDictionaryValue(profile, extension_id, *iter)); | 966 ProgessStatusToDictionaryValue(profile, extension_id, *iter)); |
| 967 } | 967 } |
| 968 return result_list.release(); | 968 return result_list.release(); |
| 969 } | 969 } |
| 970 | 970 |
| 971 } // namespace file_manager_util | 971 } // namespace file_manager_util |
| OLD | NEW |