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

Side by Side Diff: Source/modules/filesystem/DOMFileSystemSync.cpp

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
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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 public: 82 public:
83 static CreateFileResult* create() 83 static CreateFileResult* create()
84 { 84 {
85 return new CreateFileResult(); 85 return new CreateFileResult();
86 } 86 }
87 87
88 bool m_failed; 88 bool m_failed;
89 int m_code; 89 int m_code;
90 Member<File> m_file; 90 Member<File> m_file;
91 91
92 void trace(Visitor* visitor) 92 DEFINE_INLINE_TRACE()
93 { 93 {
94 visitor->trace(m_file); 94 visitor->trace(m_file);
95 } 95 }
96 96
97 private: 97 private:
98 CreateFileResult() 98 CreateFileResult()
99 : m_failed(false) 99 : m_failed(false)
100 , m_code(0) 100 , m_code(0)
101 { 101 {
102 } 102 }
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 218
219 fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, c allbacks.release()); 219 fileSystem()->createFileWriter(createFileSystemURL(fileEntry), fileWriter, c allbacks.release());
220 if (errorCode != FileError::OK) { 220 if (errorCode != FileError::OK) {
221 FileError::throwDOMException(exceptionState, errorCode); 221 FileError::throwDOMException(exceptionState, errorCode);
222 return 0; 222 return 0;
223 } 223 }
224 return fileWriter; 224 return fileWriter;
225 } 225 }
226 226
227 } 227 }
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DOMFileSystemBase.h ('k') | Source/modules/filesystem/DirectoryEntry.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698