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

Side by Side Diff: chrome/browser/file_system/browser_file_system_context.h

Issue 5633008: Remove BrowserFileSystemContext class (merge into SandboxedFSContext) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 10 years 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CONTEXT_H_
6 #define CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CONTEXT_H_
7
8 #include "base/ref_counted.h"
9 #include "base/scoped_ptr.h"
10 #include "chrome/browser/browser_thread.h"
11 #include "webkit/fileapi/sandboxed_file_system_context.h"
12
13 class FilePath;
14 class GURL;
15
16 // This is owned by profile and shared by all the FileSystemDispatcherHost
17 // that shared by the same profile. This class is just a thin wrapper around
18 // fileapi::SandboxedFileSystemContext.
19 class BrowserFileSystemContext
20 : public base::RefCountedThreadSafe<BrowserFileSystemContext,
21 BrowserThread::DeleteOnIOThread>,
22 public fileapi::SandboxedFileSystemContext {
23 public:
24 BrowserFileSystemContext(const FilePath& profile_path, bool is_incognito);
25 virtual ~BrowserFileSystemContext();
26
27 // Quota related methods.
28 void SetOriginQuotaUnlimited(const GURL& url);
29 void ResetOriginQuotaUnlimited(const GURL& url);
30
31 private:
32 DISALLOW_IMPLICIT_CONSTRUCTORS(BrowserFileSystemContext);
33 };
34
35 #endif // CHROME_BROWSER_FILE_SYSTEM_BROWSER_FILE_SYSTEM_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extensions_service_unittest.cc ('k') | chrome/browser/file_system/browser_file_system_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698