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

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

Issue 61773005: Rename WebKit namespace to blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 void FileWriterSync::didTruncate() 104 void FileWriterSync::didTruncate()
105 { 105 {
106 ASSERT(m_error == FileError::OK); 106 ASSERT(m_error == FileError::OK);
107 ASSERT(!m_complete); 107 ASSERT(!m_complete);
108 #ifndef NDEBUG 108 #ifndef NDEBUG
109 m_complete = true; 109 m_complete = true;
110 #endif 110 #endif
111 } 111 }
112 112
113 void FileWriterSync::didFail(WebKit::WebFileError error) 113 void FileWriterSync::didFail(blink::WebFileError error)
114 { 114 {
115 ASSERT(m_error == FileError::OK); 115 ASSERT(m_error == FileError::OK);
116 m_error = static_cast<FileError::ErrorCode>(error); 116 m_error = static_cast<FileError::ErrorCode>(error);
117 ASSERT(!m_complete); 117 ASSERT(!m_complete);
118 #ifndef NDEBUG 118 #ifndef NDEBUG
119 m_complete = true; 119 m_complete = true;
120 #endif 120 #endif
121 } 121 }
122 122
123 FileWriterSync::FileWriterSync() 123 FileWriterSync::FileWriterSync()
(...skipping 13 matching lines...) Expand all
137 m_complete = false; 137 m_complete = false;
138 #endif 138 #endif
139 } 139 }
140 140
141 FileWriterSync::~FileWriterSync() 141 FileWriterSync::~FileWriterSync()
142 { 142 {
143 } 143 }
144 144
145 145
146 } // namespace WebCore 146 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/modules/filesystem/FileWriterSync.h ('k') | Source/modules/filesystem/LocalFileSystem.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698