OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 case AsyncFileSystem::Temporary: | 68 case AsyncFileSystem::Temporary: |
69 result.append(DOMFileSystemBase::kTemporaryPathPrefix); | 69 result.append(DOMFileSystemBase::kTemporaryPathPrefix); |
70 break; | 70 break; |
71 case AsyncFileSystem::Persistent: | 71 case AsyncFileSystem::Persistent: |
72 result.append(DOMFileSystemBase::kPersistentPathPrefix); | 72 result.append(DOMFileSystemBase::kPersistentPathPrefix); |
73 break; | 73 break; |
74 case AsyncFileSystem::External: | 74 case AsyncFileSystem::External: |
75 result.append(DOMFileSystemBase::kExternalPathPrefix); | 75 result.append(DOMFileSystemBase::kExternalPathPrefix); |
76 break; | 76 break; |
77 } | 77 } |
78 result.append(m_fullPath); | 78 result.append(encodeWithURLEscapeSequences(m_fullPath)); |
79 return result.toString(); | 79 return result.toString(); |
80 } | 80 } |
81 | 81 |
82 } // namespace WebCore | 82 } // namespace WebCore |
83 | 83 |
84 #endif // ENABLE(FILE_SYSTEM) | 84 #endif // ENABLE(FILE_SYSTEM) |
OLD | NEW |