| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 switch (m_private->type()) { | 98 switch (m_private->type()) { |
| 99 case FileSystemTypeTemporary: | 99 case FileSystemTypeTemporary: |
| 100 return WebFileSystem::TypeTemporary; | 100 return WebFileSystem::TypeTemporary; |
| 101 case FileSystemTypePersistent: | 101 case FileSystemTypePersistent: |
| 102 return WebFileSystem::TypePersistent; | 102 return WebFileSystem::TypePersistent; |
| 103 case FileSystemTypeIsolated: | 103 case FileSystemTypeIsolated: |
| 104 return WebFileSystem::TypeIsolated; | 104 return WebFileSystem::TypeIsolated; |
| 105 case FileSystemTypeExternal: | 105 case FileSystemTypeExternal: |
| 106 return WebFileSystem::TypeExternal; | 106 return WebFileSystem::TypeExternal; |
| 107 default: | 107 default: |
| 108 ASSERT_NOT_REACHED(); | 108 NOTREACHED(); |
| 109 return WebFileSystem::TypeTemporary; | 109 return WebFileSystem::TypeTemporary; |
| 110 } | 110 } |
| 111 } | 111 } |
| 112 | 112 |
| 113 WebURL WebDOMFileSystem::rootURL() const | 113 WebURL WebDOMFileSystem::rootURL() const |
| 114 { | 114 { |
| 115 DCHECK(m_private.get()); | 115 DCHECK(m_private.get()); |
| 116 return m_private->rootURL(); | 116 return m_private->rootURL(); |
| 117 } | 117 } |
| 118 | 118 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 148 { | 148 { |
| 149 } | 149 } |
| 150 | 150 |
| 151 WebDOMFileSystem& WebDOMFileSystem::operator=(DOMFileSystem* domFileSystem) | 151 WebDOMFileSystem& WebDOMFileSystem::operator=(DOMFileSystem* domFileSystem) |
| 152 { | 152 { |
| 153 m_private = domFileSystem; | 153 m_private = domFileSystem; |
| 154 return *this; | 154 return *this; |
| 155 } | 155 } |
| 156 | 156 |
| 157 } // namespace blink | 157 } // namespace blink |
| OLD | NEW |