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

Side by Side Diff: webkit/browser/fileapi/mock_file_system_context.h

Issue 23494028: Do not return FileSystem contents if the profile is in incognito mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 #ifndef WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_
6 #define WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_ 6 #define WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_
7 7
8 #include "base/files/file_path.h" 8 #include "base/files/file_path.h"
9 #include "base/memory/scoped_vector.h" 9 #include "base/memory/scoped_vector.h"
10 10
(...skipping 11 matching lines...) Expand all
22 quota::QuotaManagerProxy* quota_manager_proxy, 22 quota::QuotaManagerProxy* quota_manager_proxy,
23 const base::FilePath& base_path); 23 const base::FilePath& base_path);
24 24
25 // The caller is responsible for including TestFileSystemBackend in 25 // The caller is responsible for including TestFileSystemBackend in
26 // |additional_providers| if needed. 26 // |additional_providers| if needed.
27 FileSystemContext* CreateFileSystemContextWithAdditionalProvidersForTesting( 27 FileSystemContext* CreateFileSystemContextWithAdditionalProvidersForTesting(
28 quota::QuotaManagerProxy* quota_manager_proxy, 28 quota::QuotaManagerProxy* quota_manager_proxy,
29 ScopedVector<FileSystemBackend> additional_providers, 29 ScopedVector<FileSystemBackend> additional_providers,
30 const base::FilePath& base_path); 30 const base::FilePath& base_path);
31 31
32 FileSystemContext* CreateIncognitoFileSystemContextForTesting(
33 quota::QuotaManagerProxy* quota_manager_proxy,
34 const base::FilePath& base_path);
35
32 } // namespace fileapi 36 } // namespace fileapi
33 37
34 #endif // WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_ 38 #endif // WEBKIT_BROWSER_FILEAPI_MOCK_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « webkit/browser/fileapi/file_system_url_request_job_unittest.cc ('k') | webkit/browser/fileapi/mock_file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698