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

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

Issue 638493002: Replacing the OVERRIDE with override and FINAL with final in WebKit/Source/core/storage (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/storage/Storage.h ('k') | Source/core/storage/StorageEvent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 30 matching lines...) Expand all
41 class SecurityOrigin; 41 class SecurityOrigin;
42 class Storage; 42 class Storage;
43 class WebStorageArea; 43 class WebStorageArea;
44 class WebStorageNamespace; 44 class WebStorageNamespace;
45 45
46 enum StorageType { 46 enum StorageType {
47 LocalStorage, 47 LocalStorage,
48 SessionStorage 48 SessionStorage
49 }; 49 };
50 50
51 class StorageArea FINAL : public NoBaseWillBeGarbageCollectedFinalized<StorageAr ea>, public FrameDestructionObserver { 51 class StorageArea final : public NoBaseWillBeGarbageCollectedFinalized<StorageAr ea>, public FrameDestructionObserver {
52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StorageArea); 52 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(StorageArea);
53 public: 53 public:
54 static PassOwnPtrWillBeRawPtr<StorageArea> create(PassOwnPtr<WebStorageArea> , StorageType); 54 static PassOwnPtrWillBeRawPtr<StorageArea> create(PassOwnPtr<WebStorageArea> , StorageType);
55 55
56 virtual ~StorageArea(); 56 virtual ~StorageArea();
57 57
58 // The HTML5 DOM Storage API 58 // The HTML5 DOM Storage API
59 unsigned length(ExceptionState&, LocalFrame* sourceFrame); 59 unsigned length(ExceptionState&, LocalFrame* sourceFrame);
60 String key(unsigned index, ExceptionState&, LocalFrame* sourceFrame); 60 String key(unsigned index, ExceptionState&, LocalFrame* sourceFrame);
61 String getItem(const String& key, ExceptionState&, LocalFrame* sourceFrame); 61 String getItem(const String& key, ExceptionState&, LocalFrame* sourceFrame);
(...skipping 19 matching lines...) Expand all
81 static bool isEventSource(Storage*, WebStorageArea* sourceAreaInstance); 81 static bool isEventSource(Storage*, WebStorageArea* sourceAreaInstance);
82 82
83 OwnPtr<WebStorageArea> m_storageArea; 83 OwnPtr<WebStorageArea> m_storageArea;
84 StorageType m_storageType; 84 StorageType m_storageType;
85 bool m_canAccessStorageCachedResult; 85 bool m_canAccessStorageCachedResult;
86 }; 86 };
87 87
88 } // namespace blink 88 } // namespace blink
89 89
90 #endif // StorageArea_h 90 #endif // StorageArea_h
OLDNEW
« no previous file with comments | « Source/core/storage/Storage.h ('k') | Source/core/storage/StorageEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698