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

Side by Side Diff: content/browser/file_system/browser_file_system_helper.cc

Issue 6586001: Move appcache/file_sytem/device_orientation subdirectories of chrome\browser ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 9 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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/file_system/browser_file_system_helper.h" 5 #include "content/browser/file_system/browser_file_system_helper.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "chrome/browser/browser_thread.h"
10 #include "chrome/common/chrome_switches.h" 9 #include "chrome/common/chrome_switches.h"
10 #include "content/browser/browser_thread.h"
11 11
12 scoped_refptr<fileapi::FileSystemContext> CreateFileSystemContext( 12 scoped_refptr<fileapi::FileSystemContext> CreateFileSystemContext(
13 const FilePath& profile_path, bool is_incognito) { 13 const FilePath& profile_path, bool is_incognito) {
14 return new fileapi::FileSystemContext( 14 return new fileapi::FileSystemContext(
15 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE), 15 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::FILE),
16 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO), 16 BrowserThread::GetMessageLoopProxyForThread(BrowserThread::IO),
17 profile_path, 17 profile_path,
18 is_incognito, 18 is_incognito,
19 CommandLine::ForCurrentProcess()->HasSwitch( 19 CommandLine::ForCurrentProcess()->HasSwitch(
20 switches::kAllowFileAccessFromFiles), 20 switches::kAllowFileAccessFromFiles),
21 CommandLine::ForCurrentProcess()->HasSwitch( 21 CommandLine::ForCurrentProcess()->HasSwitch(
22 switches::kUnlimitedQuotaForFiles)); 22 switches::kUnlimitedQuotaForFiles));
23 } 23 }
OLDNEW
« no previous file with comments | « content/browser/file_system/browser_file_system_helper.h ('k') | content/browser/file_system/file_system_dispatcher_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698