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

Side by Side Diff: third_party/WebKit/Source/web/WebDOMFileSystem.cpp

Issue 1878493002: ASSERT_NOT_REACHED() -> NOTREACHED() in web. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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) 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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/PopupMenuImpl.cpp ('k') | third_party/WebKit/Source/web/WebFrameSerializerImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698