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

Side by Side Diff: Source/modules/filesystem/EntryBase.h

Issue 941363003: InlinedVisitor: Migrate filesystem to use inlined tracing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 10 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/modules/filesystem/Entry.cpp ('k') | Source/modules/filesystem/EntryBase.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) 2010 Google Inc. All rights reserved. 2 * Copyright (C) 2010 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 DOMFileSystemBase* filesystem() const { return m_fileSystem.get(); } 47 DOMFileSystemBase* filesystem() const { return m_fileSystem.get(); }
48 48
49 virtual bool isFile() const { return false; } 49 virtual bool isFile() const { return false; }
50 virtual bool isDirectory() const { return false; } 50 virtual bool isDirectory() const { return false; }
51 51
52 const String& fullPath() const { return m_fullPath; } 52 const String& fullPath() const { return m_fullPath; }
53 const String& name() const { return m_name; } 53 const String& name() const { return m_name; }
54 54
55 String toURL() const; 55 String toURL() const;
56 56
57 virtual void trace(Visitor*); 57 DECLARE_VIRTUAL_TRACE();
58 58
59 protected: 59 protected:
60 EntryBase(DOMFileSystemBase*, const String& fullPath); 60 EntryBase(DOMFileSystemBase*, const String& fullPath);
61 friend class EntrySync; 61 friend class EntrySync;
62 62
63 Member<DOMFileSystemBase> m_fileSystem; 63 Member<DOMFileSystemBase> m_fileSystem;
64 64
65 // This is a virtual path. 65 // This is a virtual path.
66 const String m_fullPath; 66 const String m_fullPath;
67 const String m_name; 67 const String m_name;
68 68
69 mutable String m_cachedURL; 69 mutable String m_cachedURL;
70 }; 70 };
71 71
72 } 72 }
73 73
74 #endif // EntryBase_h 74 #endif // EntryBase_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/Entry.cpp ('k') | Source/modules/filesystem/EntryBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698