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

Unified Diff: chrome/browser/chrome_blob_storage_context.h

Issue 6538100: Move core pieces of chrome\browser. I've only gone up to "g", will do the re... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: take out extra stuff from content_browser.gypi 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chrome_blob_storage_context.h
===================================================================
--- chrome/browser/chrome_blob_storage_context.h (revision 75626)
+++ chrome/browser/chrome_blob_storage_context.h (working copy)
@@ -6,41 +6,7 @@
#define CHROME_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_
#pragma once
-#include "base/ref_counted.h"
-#include "base/scoped_ptr.h"
-#include "chrome/browser/browser_thread.h"
+// TODO(jam): remove this file when all files have been converted.
+#include "content/browser/chrome_blob_storage_context.h"
-class GURL;
-
-namespace webkit_blob {
-class BlobStorageController;
-}
-
-// A context class that keeps track of BlobStorageController used by the chrome.
-// There is an instance associated with each Profile. There could be multiple
-// URLRequestContexts in the same profile that refers to the same instance.
-//
-// All methods, except the ctor, are expected to be called on
-// the IO thread (unless specifically called out in doc comments).
-class ChromeBlobStorageContext
- : public base::RefCountedThreadSafe<ChromeBlobStorageContext,
- BrowserThread::DeleteOnIOThread> {
- public:
- ChromeBlobStorageContext();
-
- void InitializeOnIOThread();
-
- webkit_blob::BlobStorageController* controller() const {
- return controller_.get();
- }
-
- private:
- friend class BrowserThread;
- friend class DeleteTask<ChromeBlobStorageContext>;
-
- virtual ~ChromeBlobStorageContext();
-
- scoped_ptr<webkit_blob::BlobStorageController> controller_;
-};
-
#endif // CHROME_BROWSER_CHROME_BLOB_STORAGE_CONTEXT_H_
« no previous file with comments | « chrome/browser/child_process_security_policy_unittest.cc ('k') | chrome/browser/chrome_blob_storage_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698