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

Side by Side Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 2611823003: ABANDONED CL: Changes to compile and pass tests after Big Blink Rename (excluding functions). (Closed)
Patch Set: Inducing merge conflicts to force human review and changes after rename. Created 3 years, 11 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) 1998 Lars Knoll (knoll@mpi-hd.mpg.de) 2 Copyright (C) 1998 Lars Knoll (knoll@mpi-hd.mpg.de)
3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org> 3 Copyright (C) 2001 Dirk Mueller <mueller@kde.org>
4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) 4 Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com)
5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All
6 rights reserved. 6 rights reserved.
7 7
8 This library is free software; you can redistribute it and/or 8 This library is free software; you can redistribute it and/or
9 modify it under the terms of the GNU Library General Public 9 modify it under the terms of the GNU Library General Public
10 License as published by the Free Software Foundation; either 10 License as published by the Free Software Foundation; either
(...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 Resource::Type type() const { return m_type; } 508 Resource::Type type() const { return m_type; }
509 509
510 protected: 510 protected:
511 explicit ResourceFactory(Resource::Type type) : m_type(type) {} 511 explicit ResourceFactory(Resource::Type type) : m_type(type) {}
512 512
513 Resource::Type m_type; 513 Resource::Type m_type;
514 }; 514 };
515 515
516 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \ 516 #define DEFINE_RESOURCE_TYPE_CASTS(typeName) \
517 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \ 517 DEFINE_TYPE_CASTS(typeName##Resource, Resource, resource, \
518 resource->getType() == Resource::typeName, \ 518 resource->getType() == Resource::k##typeName, \
519 resource.getType() == Resource::typeName); 519 resource.getType() == Resource::k##typeName);
520 520
521 } // namespace blink 521 } // namespace blink
522 522
523 #endif 523 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698