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

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

Issue 134443002: Update fetch / loader classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: No OVERRIDE / FINAL in web 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
« no previous file with comments | « Source/core/loader/WorkerThreadableLoader.h ('k') | Source/web/AssociatedURLLoader.cpp » ('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 23 matching lines...) Expand all
34 #include "wtf/Forward.h" 34 #include "wtf/Forward.h"
35 #include "wtf/PassRefPtr.h" 35 #include "wtf/PassRefPtr.h"
36 #include "wtf/RefCounted.h" 36 #include "wtf/RefCounted.h"
37 37
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 : public ScriptWrappable, public RefCounted<ApplicationCa che>, 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 ~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&);
(...skipping 17 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/WorkerThreadableLoader.h ('k') | Source/web/AssociatedURLLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698