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

Side by Side Diff: Source/core/storage/StorageArea.h

Issue 463543002: Oilpan: Ensure that classes with virtual trace methods always have vtables for their left-most base… (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All Rights Reserved. 2 * Copyright (C) 2009 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 66
67 bool canAccessStorage(LocalFrame*); 67 bool canAccessStorage(LocalFrame*);
68 size_t memoryBytesUsedByCache(); 68 size_t memoryBytesUsedByCache();
69 69
70 static void dispatchLocalStorageEvent(const String& key, const String& oldVa lue, const String& newValue, 70 static void dispatchLocalStorageEvent(const String& key, const String& oldVa lue, const String& newValue,
71 SecurityOrigin*, const KURL& pageURL, blink::WebStorageArea* sourceAreaI nstance, bool originatedInProcess); 71 SecurityOrigin*, const KURL& pageURL, blink::WebStorageArea* sourceAreaI nstance, bool originatedInProcess);
72 static void dispatchSessionStorageEvent(const String& key, const String& old Value, const String& newValue, 72 static void dispatchSessionStorageEvent(const String& key, const String& old Value, const String& newValue,
73 SecurityOrigin*, const KURL& pageURL, const blink::WebStorageNamespace&, 73 SecurityOrigin*, const KURL& pageURL, const blink::WebStorageNamespace&,
74 blink::WebStorageArea* sourceAreaInstance, bool originatedInProcess); 74 blink::WebStorageArea* sourceAreaInstance, bool originatedInProcess);
75 75
76 void trace(Visitor*) { } 76 virtual void trace(Visitor*) { }
77 77
78 private: 78 private:
79 static bool isEventSource(Storage*, blink::WebStorageArea* sourceAreaInstanc e); 79 static bool isEventSource(Storage*, blink::WebStorageArea* sourceAreaInstanc e);
80 80
81 OwnPtr<blink::WebStorageArea> m_storageArea; 81 OwnPtr<blink::WebStorageArea> m_storageArea;
82 StorageType m_storageType; 82 StorageType m_storageType;
83 bool m_canAccessStorageCachedResult; 83 bool m_canAccessStorageCachedResult;
84 LocalFrame* m_canAccessStorageCachedFrame; 84 LocalFrame* m_canAccessStorageCachedFrame;
85 }; 85 };
86 86
87 } // namespace blink 87 } // namespace blink
88 88
89 #endif // StorageArea_h 89 #endif // StorageArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698