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

Side by Side Diff: webkit/quota/quota_manager.h

Issue 7001014: More Quota WebSQLDatabase integration. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: did_some_todos Created 9 years, 7 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_QUOTA_QUOTA_MANAGER_H_ 5 #ifndef WEBKIT_QUOTA_QUOTA_MANAGER_H_
6 #define WEBKIT_QUOTA_QUOTA_MANAGER_H_ 6 #define WEBKIT_QUOTA_QUOTA_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <list> 10 #include <list>
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 virtual void NotifyOriginInUse(const GURL& origin); 193 virtual void NotifyOriginInUse(const GURL& origin);
194 virtual void NotifyOriginNoLongerInUse(const GURL& origin); 194 virtual void NotifyOriginNoLongerInUse(const GURL& origin);
195 195
196 // This method may only be called on the IO thread. 196 // This method may only be called on the IO thread.
197 // It may return NULL if the manager has already been deleted. 197 // It may return NULL if the manager has already been deleted.
198 QuotaManager* quota_manager() const; 198 QuotaManager* quota_manager() const;
199 199
200 protected: 200 protected:
201 friend class QuotaManager; 201 friend class QuotaManager;
202 friend class base::RefCountedThreadSafe<QuotaManagerProxy>; 202 friend class base::RefCountedThreadSafe<QuotaManagerProxy>;
203
203 QuotaManagerProxy(QuotaManager* manager, base::MessageLoopProxy* io_thread); 204 QuotaManagerProxy(QuotaManager* manager, base::MessageLoopProxy* io_thread);
204 ~QuotaManagerProxy(); 205 virtual ~QuotaManagerProxy();
205 206
206 QuotaManager* manager_; // only accessed on the io thread 207 QuotaManager* manager_; // only accessed on the io thread
207 scoped_refptr<base::MessageLoopProxy> io_thread_; 208 scoped_refptr<base::MessageLoopProxy> io_thread_;
208 209
209 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); 210 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy);
210 }; 211 };
211 212
212 213
213 } // namespace quota 214 } // namespace quota
214 215
215 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ 216 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_
OLDNEW
« webkit/database/database_tracker_unittest.cc ('K') | « webkit/database/database_tracker_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698