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

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

Issue 106423003: [oilpan] Rename visit to mark. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Address comments. Created 7 years 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/html/track/TrackBase.h ('k') | Source/core/page/DOMWindow.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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 class KURL; 44 class KURL;
45 45
46 class DOMApplicationCache : public RefCountedGarbageCollected<DOMApplicationCach e>, public ScriptWrappable, public EventTarget, public DOMWindowProperty { 46 class DOMApplicationCache : public RefCountedGarbageCollected<DOMApplicationCach e>, public ScriptWrappable, public EventTarget, public DOMWindowProperty {
47 DECLARE_GC_INFO 47 DECLARE_GC_INFO
48 public: 48 public:
49 static PassRefPtr<DOMApplicationCache> create(Frame* frame) { return adoptRe f(new DOMApplicationCache(frame)); } 49 static PassRefPtr<DOMApplicationCache> create(Frame* frame) { return adoptRe f(new DOMApplicationCache(frame)); }
50 ~DOMApplicationCache() { ASSERT(!m_frame); } 50 ~DOMApplicationCache() { ASSERT(!m_frame); }
51 51
52 virtual void trace(Visitor*) { } 52 virtual void trace(Visitor*) { }
53 53
54 virtual void visitWith(Visitor* visitor) const OVERRIDE 54 virtual void adjustAndMark(Visitor* visitor) const OVERRIDE
55 { 55 {
56 visitor->visit(this); 56 visitor->mark(this);
57 } 57 }
58 58
59 virtual void willDestroyGlobalObjectInFrame() OVERRIDE; 59 virtual void willDestroyGlobalObjectInFrame() OVERRIDE;
60 60
61 unsigned short status() const; 61 unsigned short status() const;
62 void update(ExceptionCode&); 62 void update(ExceptionCode&);
63 void swapCache(ExceptionCode&); 63 void swapCache(ExceptionCode&);
64 void abort(); 64 void abort();
65 65
66 // EventTarget impl 66 // EventTarget impl
(...skipping 24 matching lines...) Expand all
91 virtual EventTargetData* ensureEventTargetData(); 91 virtual EventTargetData* ensureEventTargetData();
92 92
93 ApplicationCacheHost* applicationCacheHost() const; 93 ApplicationCacheHost* applicationCacheHost() const;
94 94
95 EventTargetData m_eventTargetData; 95 EventTargetData m_eventTargetData;
96 }; 96 };
97 97
98 } // namespace WebCore 98 } // namespace WebCore
99 99
100 #endif // DOMApplicationCache_h 100 #endif // DOMApplicationCache_h
OLDNEW
« no previous file with comments | « Source/core/html/track/TrackBase.h ('k') | Source/core/page/DOMWindow.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698