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_drive.h" | 5 #include "chrome/browser/chromeos/extensions/file_manager/private_api_drive.h" |
6 | 6 |
7 #include "chrome/browser/browser_process.h" | 7 #include "chrome/browser/browser_process.h" |
8 #include "chrome/browser/chromeos/drive/drive_integration_service.h" | 8 #include "chrome/browser/chromeos/drive/drive_integration_service.h" |
9 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" | 9 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" |
10 #include "chrome/browser/chromeos/file_manager/file_tasks.h" | 10 #include "chrome/browser/chromeos/file_manager/file_tasks.h" |
11 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" | 11 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" |
12 #include "chrome/browser/chromeos/file_manager/url_util.h" | 12 #include "chrome/browser/chromeos/file_manager/url_util.h" |
13 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" | 13 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" |
14 #include "chrome/browser/chromeos/login/user_manager.h" | 14 #include "chrome/browser/chromeos/login/users/user_manager.h" |
15 #include "chrome/browser/drive/drive_app_registry.h" | 15 #include "chrome/browser/drive/drive_app_registry.h" |
16 #include "chrome/browser/drive/event_logger.h" | 16 #include "chrome/browser/drive/event_logger.h" |
17 #include "chrome/browser/profiles/profile.h" | 17 #include "chrome/browser/profiles/profile.h" |
18 #include "chrome/browser/profiles/profile_manager.h" | 18 #include "chrome/browser/profiles/profile_manager.h" |
19 #include "chrome/common/extensions/api/file_browser_private.h" | 19 #include "chrome/common/extensions/api/file_browser_private.h" |
20 #include "content/public/browser/browser_thread.h" | 20 #include "content/public/browser/browser_thread.h" |
21 #include "webkit/common/fileapi/file_system_info.h" | 21 #include "webkit/common/fileapi/file_system_info.h" |
22 #include "webkit/common/fileapi/file_system_util.h" | 22 #include "webkit/common/fileapi/file_system_util.h" |
23 | 23 |
24 using content::BrowserThread; | 24 using content::BrowserThread; |
(...skipping 856 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
881 this)); | 881 this)); |
882 return true; | 882 return true; |
883 } | 883 } |
884 | 884 |
885 void FileBrowserPrivateRequestDriveShareFunction::OnAddPermission( | 885 void FileBrowserPrivateRequestDriveShareFunction::OnAddPermission( |
886 drive::FileError error) { | 886 drive::FileError error) { |
887 SendResponse(error == drive::FILE_ERROR_OK); | 887 SendResponse(error == drive::FILE_ERROR_OK); |
888 } | 888 } |
889 | 889 |
890 } // namespace extensions | 890 } // namespace extensions |
OLD | NEW |