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

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

Issue 1746283002: Rename enums/functions that collide in chromium style in platform/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: get-names-13-platform: . Created 4 years, 9 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 295 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 m_private->m_resourceResponse->setSecurityInfo(securityInfo); 306 m_private->m_resourceResponse->setSecurityInfo(securityInfo);
307 } 307 }
308 308
309 void WebURLResponse::setHasMajorCertificateErrors(bool value) 309 void WebURLResponse::setHasMajorCertificateErrors(bool value)
310 { 310 {
311 m_private->m_resourceResponse->setHasMajorCertificateErrors(value); 311 m_private->m_resourceResponse->setHasMajorCertificateErrors(value);
312 } 312 }
313 313
314 WebURLResponse::SecurityStyle WebURLResponse::securityStyle() const 314 WebURLResponse::SecurityStyle WebURLResponse::securityStyle() const
315 { 315 {
316 return static_cast<SecurityStyle>(m_private->m_resourceResponse->securitySty le()); 316 return static_cast<SecurityStyle>(m_private->m_resourceResponse->getSecurity Style());
317 } 317 }
318 318
319 void WebURLResponse::setSecurityStyle(SecurityStyle securityStyle) 319 void WebURLResponse::setSecurityStyle(SecurityStyle securityStyle)
320 { 320 {
321 m_private->m_resourceResponse->setSecurityStyle(static_cast<ResourceResponse ::SecurityStyle>(securityStyle)); 321 m_private->m_resourceResponse->setSecurityStyle(static_cast<ResourceResponse ::SecurityStyle>(securityStyle));
322 } 322 }
323 323
324 void WebURLResponse::setSecurityDetails(const WebSecurityDetails& webSecurityDet ails) 324 void WebURLResponse::setSecurityDetails(const WebSecurityDetails& webSecurityDet ails)
325 { 325 {
326 m_private->m_resourceResponse->setSecurityDetails( 326 m_private->m_resourceResponse->setSecurityDetails(
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 // Subclasses may call this directly so a self-assignment check is needed 498 // Subclasses may call this directly so a self-assignment check is needed
499 // here as well as in the public assign method. 499 // here as well as in the public assign method.
500 if (m_private == p) 500 if (m_private == p)
501 return; 501 return;
502 if (m_private) 502 if (m_private)
503 m_private->dispose(); 503 m_private->dispose();
504 m_private = p; 504 m_private = p;
505 } 505 }
506 506
507 } // namespace blink 507 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebURLRequest.cpp ('k') | third_party/WebKit/Source/platform/fonts/Font.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698