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

Side by Side Diff: third_party/WebKit/Source/platform/exported/WebURLResponse.cpp

Issue 1548993002: Switch to standard integer types in base/strings/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 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 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 return WebHTTPLoadInfo(m_private->m_resourceResponse->resourceLoadInfo()); 153 return WebHTTPLoadInfo(m_private->m_resourceResponse->resourceLoadInfo());
154 } 154 }
155 155
156 void WebURLResponse::setHTTPLoadInfo(const WebHTTPLoadInfo& value) 156 void WebURLResponse::setHTTPLoadInfo(const WebHTTPLoadInfo& value)
157 { 157 {
158 m_private->m_resourceResponse->setResourceLoadInfo(value); 158 m_private->m_resourceResponse->setResourceLoadInfo(value);
159 } 159 }
160 160
161 void WebURLResponse::setResponseTime(long long responseTime) 161 void WebURLResponse::setResponseTime(long long responseTime)
162 { 162 {
163 m_private->m_resourceResponse->setResponseTime(static_cast<int64>(responseTi me)); 163 m_private->m_resourceResponse->setResponseTime(static_cast<int64_t>(response Time));
164 } 164 }
165 165
166 WebString WebURLResponse::mimeType() const 166 WebString WebURLResponse::mimeType() const
167 { 167 {
168 return m_private->m_resourceResponse->mimeType(); 168 return m_private->m_resourceResponse->mimeType();
169 } 169 }
170 170
171 void WebURLResponse::setMIMEType(const WebString& mimeType) 171 void WebURLResponse::setMIMEType(const WebString& mimeType)
172 { 172 {
173 m_private->m_resourceResponse->setMimeType(mimeType); 173 m_private->m_resourceResponse->setMimeType(mimeType);
(...skipping 314 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // Subclasses may call this directly so a self-assignment check is needed 488 // Subclasses may call this directly so a self-assignment check is needed
489 // here as well as in the public assign method. 489 // here as well as in the public assign method.
490 if (m_private == p) 490 if (m_private == p)
491 return; 491 return;
492 if (m_private) 492 if (m_private)
493 m_private->dispose(); 493 m_private->dispose();
494 m_private = p; 494 m_private = p;
495 } 495 }
496 496
497 } // namespace blink 497 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698