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

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

Issue 130753002: Move DriveAppRegistry from c/b/chromeos/drive to c/b/drive. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Created 6 years, 11 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 | Annotate | Revision Log
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 "chrome/browser/chromeos/drive/drive_app_registry.h"
8 #include "chrome/browser/chromeos/drive/drive_integration_service.h" 7 #include "chrome/browser/chromeos/drive/drive_integration_service.h"
9 #include "chrome/browser/chromeos/drive/logging.h" 8 #include "chrome/browser/chromeos/drive/logging.h"
10 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h" 9 #include "chrome/browser/chromeos/extensions/file_manager/private_api_util.h"
11 #include "chrome/browser/chromeos/file_manager/file_tasks.h" 10 #include "chrome/browser/chromeos/file_manager/file_tasks.h"
12 #include "chrome/browser/chromeos/file_manager/url_util.h" 11 #include "chrome/browser/chromeos/file_manager/url_util.h"
13 #include "chrome/browser/chromeos/fileapi/file_system_backend.h" 12 #include "chrome/browser/chromeos/fileapi/file_system_backend.h"
13 #include "chrome/browser/drive/drive_app_registry.h"
14 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
15 #include "chrome/common/extensions/api/file_browser_private.h" 15 #include "chrome/common/extensions/api/file_browser_private.h"
16 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
17 #include "webkit/common/fileapi/file_system_info.h" 17 #include "webkit/common/fileapi/file_system_info.h"
18 #include "webkit/common/fileapi/file_system_util.h" 18 #include "webkit/common/fileapi/file_system_util.h"
19 19
20 using content::BrowserThread; 20 using content::BrowserThread;
21 21
22 namespace extensions { 22 namespace extensions {
23 namespace { 23 namespace {
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 error_ = "Share Url for this item is not available."; 602 error_ = "Share Url for this item is not available.";
603 SendResponse(false); 603 SendResponse(false);
604 return; 604 return;
605 } 605 }
606 606
607 SetResult(new base::StringValue(share_url.spec())); 607 SetResult(new base::StringValue(share_url.spec()));
608 SendResponse(true); 608 SendResponse(true);
609 } 609 }
610 610
611 } // namespace extensions 611 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/drive/drive_integration_service.cc ('k') | chrome/browser/chromeos/file_manager/file_tasks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698