OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Google Inc. All rights reserved. | 3 * Copyright (C) 2009 Google Inc. All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * | 8 * |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 17 matching lines...) Expand all Loading... |
28 */ | 28 */ |
29 | 29 |
30 #ifndef StorageEventDispatcher_h | 30 #ifndef StorageEventDispatcher_h |
31 #define StorageEventDispatcher_h | 31 #define StorageEventDispatcher_h |
32 | 32 |
33 #include "PlatformString.h" | 33 #include "PlatformString.h" |
34 #include "StorageArea.h" | 34 #include "StorageArea.h" |
35 | 35 |
36 namespace WebCore { | 36 namespace WebCore { |
37 | 37 |
38 // This is in its own class since Chromium must override it. | |
39 class StorageEventDispatcher { | 38 class StorageEventDispatcher { |
40 public: | 39 public: |
41 static void dispatch(const String& key, const String& oldValue, const St
ring& newValue, StorageType, SecurityOrigin*, Frame* sourceFrame); | 40 static void dispatch(const String& key, const String& oldValue, const St
ring& newValue, StorageType, SecurityOrigin*, Frame* sourceFrame); |
42 | 41 |
43 private: | 42 private: |
44 // Do not instantiate. | 43 // Do not instantiate. |
45 StorageEventDispatcher(); | 44 StorageEventDispatcher(); |
46 }; | 45 }; |
47 | 46 |
48 } // namespace WebCore | 47 } // namespace WebCore |
49 | 48 |
50 #endif // StorageEventDispatcher_h | 49 #endif // StorageEventDispatcher_h |
OLD | NEW |