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

Side by Side Diff: third_party/WebKit/Source/core/fetch/ResourceFetcher.cpp

Issue 2611823003: ABANDONED CL: Changes to compile and pass tests after Big Blink Rename (excluding functions). (Closed)
Patch Set: check-webkit-style fixes. 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) 2002 Waldo Bastian (bastian@kde.org) 4 Copyright (C) 2002 Waldo Bastian (bastian@kde.org)
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 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 7 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
8 8
9 This library is free software; you can redistribute it and/or 9 This library is free software; you can redistribute it and/or
10 modify it under the terms of the GNU Library General Public 10 modify it under the terms of the GNU Library General Public
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 // Events for UMA. Do not reorder or delete. Add new events at the end, but 62 // Events for UMA. Do not reorder or delete. Add new events at the end, but
63 // before SriResourceIntegrityMismatchEventCount. 63 // before SriResourceIntegrityMismatchEventCount.
64 enum SriResourceIntegrityMismatchEvent { 64 enum SriResourceIntegrityMismatchEvent {
65 CheckingForIntegrityMismatch = 0, 65 CheckingForIntegrityMismatch = 0,
66 RefetchDueToIntegrityMismatch = 1, 66 RefetchDueToIntegrityMismatch = 1,
67 SriResourceIntegrityMismatchEventCount 67 SriResourceIntegrityMismatchEventCount
68 }; 68 };
69 69
70 #define DEFINE_SINGLE_RESOURCE_HISTOGRAM(prefix, name) \ 70 #define DEFINE_SINGLE_RESOURCE_HISTOGRAM(prefix, name) \
71 case Resource::name: { \ 71 case Resource::k##name: { \
72 DEFINE_THREAD_SAFE_STATIC_LOCAL( \ 72 DEFINE_THREAD_SAFE_STATIC_LOCAL( \
73 EnumerationHistogram, resourceHistogram, \ 73 EnumerationHistogram, resourceHistogram, \
74 new EnumerationHistogram( \ 74 new EnumerationHistogram( \
75 "Blink.MemoryCache.RevalidationPolicy." prefix #name, Load + 1)); \ 75 "Blink.MemoryCache.RevalidationPolicy." prefix #name, Load + 1)); \
76 resourceHistogram.count(policy); \ 76 resourceHistogram.count(policy); \
77 break; \ 77 break; \
78 } 78 }
79 79
80 #define DEFINE_RESOURCE_HISTOGRAM(prefix) \ 80 #define DEFINE_RESOURCE_HISTOGRAM(prefix) \
81 switch (factory.type()) { \ 81 switch (factory.type()) { \
(...skipping 1420 matching lines...) Expand 10 before | Expand all | Expand 10 after
1502 visitor->trace(m_context); 1502 visitor->trace(m_context);
1503 visitor->trace(m_archive); 1503 visitor->trace(m_archive);
1504 visitor->trace(m_loaders); 1504 visitor->trace(m_loaders);
1505 visitor->trace(m_nonBlockingLoaders); 1505 visitor->trace(m_nonBlockingLoaders);
1506 visitor->trace(m_documentResources); 1506 visitor->trace(m_documentResources);
1507 visitor->trace(m_preloads); 1507 visitor->trace(m_preloads);
1508 visitor->trace(m_resourceTimingInfoMap); 1508 visitor->trace(m_resourceTimingInfoMap);
1509 } 1509 }
1510 1510
1511 } // namespace blink 1511 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698