Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(141)

Side by Side Diff: chrome/browser/chromeos/extensions/file_manager/private_api_drive.cc

Issue 1192493003: Move browser-agnostic code from file_system_util to file_system_core_util. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@drive-prefservice
Patch Set: Rebasing... Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 <map> 7 #include <map>
8 #include <set> 8 #include <set>
9 9
10 #include "base/command_line.h" 10 #include "base/command_line.h"
11 #include "chrome/browser/browser_process.h" 11 #include "chrome/browser/browser_process.h"
12 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 12 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
13 #include "chrome/browser/chromeos/drive/file_system_util.h"
13 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" 14 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h"
14 #include "chrome/browser/chromeos/file_manager/file_tasks.h" 15 #include "chrome/browser/chromeos/file_manager/file_tasks.h"
15 #include "chrome/browser/chromeos/file_manager/fileapi_util.h" 16 #include "chrome/browser/chromeos/file_manager/fileapi_util.h"
16 #include "chrome/browser/chromeos/file_manager/url_util.h" 17 #include "chrome/browser/chromeos/file_manager/url_util.h"
17 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h" 18 #include "chrome/browser/chromeos/file_system_provider/mount_path_util.h"
18 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte rface.h" 19 #include "chrome/browser/chromeos/file_system_provider/provided_file_system_inte rface.h"
19 #include "chrome/browser/chromeos/fileapi/external_file_url_util.h" 20 #include "chrome/browser/chromeos/fileapi/external_file_url_util.h"
20 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" 21 #include "chrome/browser/chromeos/fileapi/file_system_backend.h"
21 #include "chrome/browser/chromeos/profiles/profile_helper.h" 22 #include "chrome/browser/chromeos/profiles/profile_helper.h"
22 #include "chrome/browser/drive/drive_app_registry.h" 23 #include "chrome/browser/drive/drive_app_registry.h"
(...skipping 1054 matching lines...) Expand 10 before | Expand all | Expand 10 after
1077 } 1078 }
1078 1079
1079 const std::string url = 1080 const std::string url =
1080 download_url_.Resolve("?access_token=" + access_token).spec(); 1081 download_url_.Resolve("?access_token=" + access_token).spec();
1081 SetResult(new base::StringValue(url)); 1082 SetResult(new base::StringValue(url));
1082 1083
1083 SendResponse(true); 1084 SendResponse(true);
1084 } 1085 }
1085 1086
1086 } // namespace extensions 1087 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698