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

Side by Side Diff: third_party/WebKit/public/platform/WebFileSystemCallbacks.h

Issue 1916703002: Prepare for move-only PassOwnPtr in the remaining directories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@core1
Patch Set: Merge with trunk. Created 4 years, 8 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
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 WebFileSystemCallbacks& operator=(const WebFileSystemCallbacks& c) 57 WebFileSystemCallbacks& operator=(const WebFileSystemCallbacks& c)
58 { 58 {
59 assign(c); 59 assign(c);
60 return *this; 60 return *this;
61 } 61 }
62 62
63 BLINK_PLATFORM_EXPORT void reset(); 63 BLINK_PLATFORM_EXPORT void reset();
64 BLINK_PLATFORM_EXPORT void assign(const WebFileSystemCallbacks&); 64 BLINK_PLATFORM_EXPORT void assign(const WebFileSystemCallbacks&);
65 65
66 #if INSIDE_BLINK 66 #if INSIDE_BLINK
67 BLINK_PLATFORM_EXPORT WebFileSystemCallbacks(const WTF::PassOwnPtr<AsyncFile SystemCallbacks>&); 67 BLINK_PLATFORM_EXPORT WebFileSystemCallbacks(WTF::PassOwnPtr<AsyncFileSystem Callbacks>&&);
jbroman 2016/04/25 15:08:27 ditto
68 #endif 68 #endif
69 69
70 // Callback for WebFileSystem's various operations that don't require 70 // Callback for WebFileSystem's various operations that don't require
71 // return values. 71 // return values.
72 BLINK_PLATFORM_EXPORT void didSucceed(); 72 BLINK_PLATFORM_EXPORT void didSucceed();
73 73
74 // Callback for WebFileSystem::readMetadata. Called with the file metadata 74 // Callback for WebFileSystem::readMetadata. Called with the file metadata
75 // for the requested path. 75 // for the requested path.
76 BLINK_PLATFORM_EXPORT void didReadMetadata(const WebFileInfo&); 76 BLINK_PLATFORM_EXPORT void didReadMetadata(const WebFileInfo&);
77 77
(...skipping 29 matching lines...) Expand all
107 // is fullfilled. 107 // is fullfilled.
108 BLINK_PLATFORM_EXPORT bool shouldBlockUntilCompletion() const; 108 BLINK_PLATFORM_EXPORT bool shouldBlockUntilCompletion() const;
109 109
110 private: 110 private:
111 WebPrivatePtr<WebFileSystemCallbacksPrivate> m_private; 111 WebPrivatePtr<WebFileSystemCallbacksPrivate> m_private;
112 }; 112 };
113 113
114 } // namespace blink 114 } // namespace blink
115 115
116 #endif 116 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698