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

Side by Side Diff: Source/modules/filesystem/LocalFileSystem.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
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.h ('k') | Source/modules/filesystem/Metadata.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) 2013 Google Inc. All rights reserved. 2 * Copyright (C) 2013 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 CallbackWrapper(PassOwnPtr<AsyncFileSystemCallbacks> c) 62 CallbackWrapper(PassOwnPtr<AsyncFileSystemCallbacks> c)
63 : m_callbacks(c) 63 : m_callbacks(c)
64 { 64 {
65 } 65 }
66 virtual ~CallbackWrapper() { } 66 virtual ~CallbackWrapper() { }
67 PassOwnPtr<AsyncFileSystemCallbacks> release() 67 PassOwnPtr<AsyncFileSystemCallbacks> release()
68 { 68 {
69 return m_callbacks.release(); 69 return m_callbacks.release();
70 } 70 }
71 71
72 void trace(Visitor*) { } 72 DEFINE_INLINE_TRACE() { }
73 73
74 private: 74 private:
75 OwnPtr<AsyncFileSystemCallbacks> m_callbacks; 75 OwnPtr<AsyncFileSystemCallbacks> m_callbacks;
76 }; 76 };
77 77
78 PassOwnPtrWillBeRawPtr<LocalFileSystem> LocalFileSystem::create(PassOwnPtr<FileS ystemClient> client) 78 PassOwnPtrWillBeRawPtr<LocalFileSystem> LocalFileSystem::create(PassOwnPtr<FileS ystemClient> client)
79 { 79 {
80 return adoptPtrWillBeNoop(new LocalFileSystem(client)); 80 return adoptPtrWillBeNoop(new LocalFileSystem(client));
81 } 81 }
82 82
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 { 215 {
216 frame.provideSupplement(LocalFileSystem::supplementName(), LocalFileSystem:: create(client)); 216 frame.provideSupplement(LocalFileSystem::supplementName(), LocalFileSystem:: create(client));
217 } 217 }
218 218
219 void provideLocalFileSystemToWorker(WorkerClients* clients, PassOwnPtr<FileSyste mClient> client) 219 void provideLocalFileSystemToWorker(WorkerClients* clients, PassOwnPtr<FileSyste mClient> client)
220 { 220 {
221 clients->provideSupplement(LocalFileSystem::supplementName(), LocalFileSyste m::create(client)); 221 clients->provideSupplement(LocalFileSystem::supplementName(), LocalFileSyste m::create(client));
222 } 222 }
223 223
224 } // namespace blink 224 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/filesystem/LocalFileSystem.h ('k') | Source/modules/filesystem/Metadata.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698