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

Side by Side Diff: chrome/browser/chromeos/file_manager/fileapi_util.cc

Issue 147923005: Split ExtensionSystem interface from ExtensionSystemImpl implementation, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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/file_manager/fileapi_util.h" 5 #include "chrome/browser/chromeos/file_manager/fileapi_util.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "chrome/browser/extensions/extension_service.h" 8 #include "chrome/browser/extensions/extension_service.h"
9 #include "chrome/browser/extensions/extension_system.h"
10 #include "chrome/browser/profiles/profile.h" 9 #include "chrome/browser/profiles/profile.h"
11 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/render_view_host.h" 11 #include "content/public/browser/render_view_host.h"
13 #include "content/public/browser/site_instance.h" 12 #include "content/public/browser/site_instance.h"
14 #include "content/public/browser/storage_partition.h" 13 #include "content/public/browser/storage_partition.h"
14 #include "extensions/browser/extension_system.h"
15 #include "net/base/escape.h" 15 #include "net/base/escape.h"
16 #include "url/gurl.h" 16 #include "url/gurl.h"
17 #include "webkit/browser/fileapi/file_system_context.h" 17 #include "webkit/browser/fileapi/file_system_context.h"
18 #include "webkit/common/fileapi/file_system_util.h" 18 #include "webkit/common/fileapi/file_system_util.h"
19 19
20 namespace file_manager { 20 namespace file_manager {
21 namespace util { 21 namespace util {
22 22
23 fileapi::FileSystemContext* GetFileSystemContextForExtensionId( 23 fileapi::FileSystemContext* GetFileSystemContextForExtensionId(
24 Profile* profile, 24 Profile* profile,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Find if this file path is managed by the external backend. 88 // Find if this file path is managed by the external backend.
89 if (!backend->GetVirtualPath(absolute_path, virtual_path)) 89 if (!backend->GetVirtualPath(absolute_path, virtual_path))
90 return false; 90 return false;
91 91
92 return true; 92 return true;
93 } 93 }
94 94
95 } // namespace util 95 } // namespace util
96 } // namespace file_manager 96 } // namespace file_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698