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

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

Issue 141733008: Use incognito split for ChromeVox and TTS in Guest mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added comment 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_FILE_SYSTEM_CONTEXT_H_ 5 #ifndef WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 6 #define WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 const base::FilePath& partition_path() const { return partition_path_; } 235 const base::FilePath& partition_path() const { return partition_path_; }
236 236
237 // Same as |CrackFileSystemURL|, but cracks FileSystemURL created from |url|. 237 // Same as |CrackFileSystemURL|, but cracks FileSystemURL created from |url|.
238 FileSystemURL CrackURL(const GURL& url) const; 238 FileSystemURL CrackURL(const GURL& url) const;
239 // Same as |CrackFileSystemURL|, but cracks FileSystemURL created from method 239 // Same as |CrackFileSystemURL|, but cracks FileSystemURL created from method
240 // arguments. 240 // arguments.
241 FileSystemURL CreateCrackedFileSystemURL(const GURL& origin, 241 FileSystemURL CreateCrackedFileSystemURL(const GURL& origin,
242 FileSystemType type, 242 FileSystemType type,
243 const base::FilePath& path) const; 243 const base::FilePath& path) const;
244 244
245 #if defined(OS_CHROMEOS) && defined(GOOGLE_CHROME_BUILD) 245 #if defined(OS_CHROMEOS)
246 // Used only on ChromeOS for now. 246 // Used only on ChromeOS for now.
247 void EnableTemporaryFileSystemInIncognito(); 247 void EnableTemporaryFileSystemInIncognito();
248 #endif 248 #endif
249 249
250 SandboxFileSystemBackendDelegate* sandbox_delegate() { 250 SandboxFileSystemBackendDelegate* sandbox_delegate() {
251 return sandbox_delegate_.get(); 251 return sandbox_delegate_.get();
252 } 252 }
253 253
254 // Returns true if the requested url is ok to be served. 254 // Returns true if the requested url is ok to be served.
255 // (E.g. this returns false if the context is created for incognito mode) 255 // (E.g. this returns false if the context is created for incognito mode)
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 371
372 struct DefaultContextDeleter { 372 struct DefaultContextDeleter {
373 static void Destruct(const FileSystemContext* context) { 373 static void Destruct(const FileSystemContext* context) {
374 context->DeleteOnCorrectThread(); 374 context->DeleteOnCorrectThread();
375 } 375 }
376 }; 376 };
377 377
378 } // namespace fileapi 378 } // namespace fileapi
379 379
380 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_ 380 #endif // WEBKIT_BROWSER_FILEAPI_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/speech/tts_extension_loader_chromeos.cc ('k') | webkit/browser/fileapi/file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698