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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 28 matching lines...) Expand all
39 #include "modules/filesystem/FileSystemCallbacks.h" 39 #include "modules/filesystem/FileSystemCallbacks.h"
40 #include "modules/filesystem/MetadataCallback.h" 40 #include "modules/filesystem/MetadataCallback.h"
41 #include "platform/weborigin/SecurityOrigin.h" 41 #include "platform/weborigin/SecurityOrigin.h"
42 #include "wtf/text/StringBuilder.h" 42 #include "wtf/text/StringBuilder.h"
43 43
44 namespace blink { 44 namespace blink {
45 45
46 Entry::Entry(DOMFileSystemBase* fileSystem, const String& fullPath) 46 Entry::Entry(DOMFileSystemBase* fileSystem, const String& fullPath)
47 : EntryBase(fileSystem, fullPath) 47 : EntryBase(fileSystem, fullPath)
48 { 48 {
49 ScriptWrappable::init(this);
50 } 49 }
51 50
52 void Entry::getMetadata(PassOwnPtrWillBeRawPtr<MetadataCallback> successCallback , PassOwnPtrWillBeRawPtr<ErrorCallback> errorCallback) 51 void Entry::getMetadata(PassOwnPtrWillBeRawPtr<MetadataCallback> successCallback , PassOwnPtrWillBeRawPtr<ErrorCallback> errorCallback)
53 { 52 {
54 m_fileSystem->getMetadata(this, successCallback, errorCallback); 53 m_fileSystem->getMetadata(this, successCallback, errorCallback);
55 } 54 }
56 55
57 void Entry::moveTo(DirectoryEntry* parent, const String& name, PassOwnPtrWillBeR awPtr<EntryCallback> successCallback, PassOwnPtrWillBeRawPtr<ErrorCallback> erro rCallback) const 56 void Entry::moveTo(DirectoryEntry* parent, const String& name, PassOwnPtrWillBeR awPtr<EntryCallback> successCallback, PassOwnPtrWillBeRawPtr<ErrorCallback> erro rCallback) const
58 { 57 {
59 m_fileSystem->move(this, parent, name, successCallback, errorCallback); 58 m_fileSystem->move(this, parent, name, successCallback, errorCallback);
(...skipping 13 matching lines...) Expand all
73 { 72 {
74 m_fileSystem->getParent(this, successCallback, errorCallback); 73 m_fileSystem->getParent(this, successCallback, errorCallback);
75 } 74 }
76 75
77 void Entry::trace(Visitor* visitor) 76 void Entry::trace(Visitor* visitor)
78 { 77 {
79 EntryBase::trace(visitor); 78 EntryBase::trace(visitor);
80 } 79 }
81 80
82 } // namespace blink 81 } // namespace blink
OLDNEW
« no previous file with comments | « Source/modules/filesystem/DirectoryReaderSync.cpp ('k') | Source/modules/filesystem/EntrySync.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698