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

Side by Side Diff: Source/WebKit/chromium/public/WebStorageNamespace.h

Issue 10377148: Revert 116712 - Source/WebCore: [chromium] DomStorage events handling needs TLC (2) (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1137/
Patch Set: Created 8 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
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 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 // Create a new WebStorageArea object. Two subsequent calls with the same or igin 48 // Create a new WebStorageArea object. Two subsequent calls with the same or igin
49 // will return two different WebStorageArea objects that share the same back ing store. 49 // will return two different WebStorageArea objects that share the same back ing store.
50 // You should call delete on the returned object when you're finished. 50 // You should call delete on the returned object when you're finished.
51 virtual WebStorageArea* createStorageArea(const WebString& origin) = 0; 51 virtual WebStorageArea* createStorageArea(const WebString& origin) = 0;
52 52
53 // Copy a StorageNamespace. This only makes sense in the case of SessionStor age. 53 // Copy a StorageNamespace. This only makes sense in the case of SessionStor age.
54 virtual WebStorageNamespace* copy() = 0; 54 virtual WebStorageNamespace* copy() = 0;
55 55
56 // Returns true of the two instances represent the same storage namespace. 56 // Returns true of the two instances represent the same storage namespace.
57 virtual bool isSameNamespace(const WebStorageNamespace&) const { return fals e; } 57 virtual bool isSameNamespace(const WebStorageNamespace&) const { return fals e; }
58
59 // DEPRECATED
60 virtual void close() { }
58 }; 61 };
59 62
60 } // namespace WebKit 63 } // namespace WebKit
61 64
62 #endif // WebStorageNamespace_h 65 #endif // WebStorageNamespace_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698