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

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

Issue 10829258: Clean-up inline members of nested classes (webkit/) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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
« no previous file with comments | « webkit/fileapi/webkit_fileapi.gypi ('k') | webkit/quota/quota_manager.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_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 7
8 #include <deque> 8 #include <deque>
9 #include <list> 9 #include <list>
10 #include <map> 10 #include <map>
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
246 typedef QuotaDatabase::OriginInfoTableEntry OriginInfoTableEntry; 246 typedef QuotaDatabase::OriginInfoTableEntry OriginInfoTableEntry;
247 typedef std::vector<QuotaTableEntry> QuotaTableEntries; 247 typedef std::vector<QuotaTableEntry> QuotaTableEntries;
248 typedef std::vector<OriginInfoTableEntry> OriginInfoTableEntries; 248 typedef std::vector<OriginInfoTableEntry> OriginInfoTableEntries;
249 249
250 typedef base::Callback<void(const QuotaTableEntries&)> 250 typedef base::Callback<void(const QuotaTableEntries&)>
251 DumpQuotaTableCallback; 251 DumpQuotaTableCallback;
252 typedef base::Callback<void(const OriginInfoTableEntries&)> 252 typedef base::Callback<void(const OriginInfoTableEntries&)>
253 DumpOriginInfoTableCallback; 253 DumpOriginInfoTableCallback;
254 254
255 struct EvictionContext { 255 struct EvictionContext {
256 EvictionContext() : evicted_type(kStorageTypeUnknown) {} 256 EvictionContext();
257 virtual ~EvictionContext() {} 257 virtual ~EvictionContext();
258 GURL evicted_origin; 258 GURL evicted_origin;
259 StorageType evicted_type; 259 StorageType evicted_type;
260 260
261 EvictOriginDataCallback evict_origin_data_callback; 261 EvictOriginDataCallback evict_origin_data_callback;
262 }; 262 };
263 263
264 typedef std::pair<std::string, StorageType> HostAndType; 264 typedef std::pair<std::string, StorageType> HostAndType;
265 typedef std::map<HostAndType, UsageAndQuotaDispatcherTask*> 265 typedef std::map<HostAndType, UsageAndQuotaDispatcherTask*>
266 UsageAndQuotaDispatcherTaskMap; 266 UsageAndQuotaDispatcherTaskMap;
267 267
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 425
426 QuotaManager* manager_; // only accessed on the io thread 426 QuotaManager* manager_; // only accessed on the io thread
427 scoped_refptr<base::SingleThreadTaskRunner> io_thread_; 427 scoped_refptr<base::SingleThreadTaskRunner> io_thread_;
428 428
429 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy); 429 DISALLOW_COPY_AND_ASSIGN(QuotaManagerProxy);
430 }; 430 };
431 431
432 } // namespace quota 432 } // namespace quota
433 433
434 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_ 434 #endif // WEBKIT_QUOTA_QUOTA_MANAGER_H_
OLDNEW
« no previous file with comments | « webkit/fileapi/webkit_fileapi.gypi ('k') | webkit/quota/quota_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698