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

Side by Side Diff: Source/modules/quota/DeprecatedStorageInfo.h

Issue 169293002: Oilpan: Remove GC_INFO_{DEFINE,DECLARE} macros (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixheaptest 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 /* 1 /*
2 * Copyright (C) 2011 Google Inc. All rights reserved. 2 * Copyright (C) 2011 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 28 matching lines...) Expand all
39 #include "wtf/RefPtr.h" 39 #include "wtf/RefPtr.h"
40 40
41 namespace WebCore { 41 namespace WebCore {
42 42
43 class ExecutionContext; 43 class ExecutionContext;
44 class StorageErrorCallback; 44 class StorageErrorCallback;
45 class StorageQuotaCallback; 45 class StorageQuotaCallback;
46 class StorageUsageCallback; 46 class StorageUsageCallback;
47 47
48 class DeprecatedStorageInfo : public RefCountedWillBeGarbageCollectedFinalized<D eprecatedStorageInfo>, public ScriptWrappable { 48 class DeprecatedStorageInfo : public RefCountedWillBeGarbageCollectedFinalized<D eprecatedStorageInfo>, public ScriptWrappable {
49 DECLARE_GC_INFO;
50 public: 49 public:
51 enum { 50 enum {
52 TEMPORARY, 51 TEMPORARY,
53 PERSISTENT, 52 PERSISTENT,
54 }; 53 };
55 54
56 static PassRefPtrWillBeRawPtr<DeprecatedStorageInfo> create() 55 static PassRefPtrWillBeRawPtr<DeprecatedStorageInfo> create()
57 { 56 {
58 return adoptRefWillBeNoop(new DeprecatedStorageInfo()); 57 return adoptRefWillBeNoop(new DeprecatedStorageInfo());
59 } 58 }
(...skipping 11 matching lines...) Expand all
71 70
72 DeprecatedStorageQuota* getStorageQuota(int storageType); 71 DeprecatedStorageQuota* getStorageQuota(int storageType);
73 72
74 mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage; 73 mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_temporaryStorage;
75 mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage; 74 mutable RefPtrWillBeMember<DeprecatedStorageQuota> m_persistentStorage;
76 }; 75 };
77 76
78 } // namespace WebCore 77 } // namespace WebCore
79 78
80 #endif // DeprecatedStorageInfo_h 79 #endif // DeprecatedStorageInfo_h
OLDNEW
« no previous file with comments | « Source/modules/performance/WorkerPerformance.cpp ('k') | Source/modules/quota/DeprecatedStorageInfo.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698