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

Side by Side Diff: Source/core/loader/appcache/ApplicationCache.h

Issue 137943002: Update more core classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
« no previous file with comments | « Source/core/loader/SinkDocument.h ('k') | Source/core/rendering/AutoTableLayout.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) 2008, 2009 Apple Inc. All Rights Reserved. 2 * Copyright (C) 2008, 2009 Apple 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 27 matching lines...) Expand all
38 namespace WebCore { 38 namespace WebCore {
39 39
40 class ExceptionState; 40 class ExceptionState;
41 class Frame; 41 class Frame;
42 class KURL; 42 class KURL;
43 43
44 class ApplicationCache FINAL : public ScriptWrappable, public RefCounted<Applica tionCache>, public EventTargetWithInlineData, public DOMWindowProperty { 44 class ApplicationCache FINAL : public ScriptWrappable, public RefCounted<Applica tionCache>, public EventTargetWithInlineData, public DOMWindowProperty {
45 REFCOUNTED_EVENT_TARGET(ApplicationCache); 45 REFCOUNTED_EVENT_TARGET(ApplicationCache);
46 public: 46 public:
47 static PassRefPtr<ApplicationCache> create(Frame* frame) { return adoptRef(n ew ApplicationCache(frame)); } 47 static PassRefPtr<ApplicationCache> create(Frame* frame) { return adoptRef(n ew ApplicationCache(frame)); }
48 ~ApplicationCache() { ASSERT(!m_frame); } 48 virtual ~ApplicationCache() { ASSERT(!m_frame); }
49 49
50 virtual void willDestroyGlobalObjectInFrame() OVERRIDE; 50 virtual void willDestroyGlobalObjectInFrame() OVERRIDE;
51 51
52 unsigned short status() const; 52 unsigned short status() const;
53 void update(ExceptionState&); 53 void update(ExceptionState&);
54 void swapCache(ExceptionState&); 54 void swapCache(ExceptionState&);
55 void abort(); 55 void abort();
56 56
57 // Explicitly named attribute event listener helpers 57 // Explicitly named attribute event listener helpers
58 58
(...skipping 13 matching lines...) Expand all
72 72
73 private: 73 private:
74 explicit ApplicationCache(Frame*); 74 explicit ApplicationCache(Frame*);
75 75
76 ApplicationCacheHost* applicationCacheHost() const; 76 ApplicationCacheHost* applicationCacheHost() const;
77 }; 77 };
78 78
79 } // namespace WebCore 79 } // namespace WebCore
80 80
81 #endif // ApplicationCache_h 81 #endif // ApplicationCache_h
OLDNEW
« no previous file with comments | « Source/core/loader/SinkDocument.h ('k') | Source/core/rendering/AutoTableLayout.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698