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

Side by Side Diff: third_party/WebKit/Source/platform/AsyncFileSystemCallbacks.h

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/ContentType.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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 virtual void didCreateSnapshotFile(const FileMetadata&, 74 virtual void didCreateSnapshotFile(const FileMetadata&,
75 PassRefPtr<BlobDataHandle> snapshot) { 75 PassRefPtr<BlobDataHandle> snapshot) {
76 ASSERT_NOT_REACHED(); 76 ASSERT_NOT_REACHED();
77 } 77 }
78 78
79 // Called when a directory entry is read. 79 // Called when a directory entry is read.
80 virtual void didReadDirectoryEntry(const String& name, bool isDirectory) { 80 virtual void didReadDirectoryEntry(const String& name, bool isDirectory) {
81 ASSERT_NOT_REACHED(); 81 ASSERT_NOT_REACHED();
82 } 82 }
83 83
84 // Called after a chunk of directory entries have been read (i.e. indicates it 's good time to call back to the application). If hasMore is true there can be m ore chunks. 84 // Called after a chunk of directory entries have been read (i.e. indicates
85 // it's good time to call back to the application). If hasMore is true there
86 // can be more chunks.
85 virtual void didReadDirectoryEntries(bool hasMore) { ASSERT_NOT_REACHED(); } 87 virtual void didReadDirectoryEntries(bool hasMore) { ASSERT_NOT_REACHED(); }
86 88
87 // Called when an AsyncFileWrter has been created successfully. 89 // Called when an AsyncFileWrter has been created successfully.
88 virtual void didCreateFileWriter(std::unique_ptr<WebFileWriter>, 90 virtual void didCreateFileWriter(std::unique_ptr<WebFileWriter>,
89 long long length) { 91 long long length) {
90 ASSERT_NOT_REACHED(); 92 ASSERT_NOT_REACHED();
91 } 93 }
92 94
93 // Called when there was an error. 95 // Called when there was an error.
94 virtual void didFail(int code) = 0; 96 virtual void didFail(int code) = 0;
(...skipping 10 matching lines...) Expand all
105 107
106 virtual ~AsyncFileSystemCallbacks() {} 108 virtual ~AsyncFileSystemCallbacks() {}
107 109
108 private: 110 private:
109 bool m_blockUntilCompletion; 111 bool m_blockUntilCompletion;
110 }; 112 };
111 113
112 } // namespace blink 114 } // namespace blink
113 115
114 #endif // AsyncFileSystemCallbacks_h 116 #endif // AsyncFileSystemCallbacks_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/platform/ContentType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698