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

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

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 years, 10 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 rights reserved. 5 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved.
6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/ 6 Copyright (C) 2009 Torch Mobile Inc. http://www.torchmobile.com/
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 namespace { 59 namespace {
60 60
61 // Events for UMA. Do not reorder or delete. Add new events at the end, but 61 // Events for UMA. Do not reorder or delete. Add new events at the end, but
62 // before SriResourceIntegrityMismatchEventCount. 62 // before SriResourceIntegrityMismatchEventCount.
63 enum SriResourceIntegrityMismatchEvent { 63 enum SriResourceIntegrityMismatchEvent {
64 CheckingForIntegrityMismatch = 0, 64 CheckingForIntegrityMismatch = 0,
65 RefetchDueToIntegrityMismatch = 1, 65 RefetchDueToIntegrityMismatch = 1,
66 SriResourceIntegrityMismatchEventCount 66 SriResourceIntegrityMismatchEventCount
67 }; 67 };
68 68
69 } 69 } // namespace
70 70
71 static void RecordSriResourceIntegrityMismatchEvent(SriResourceIntegrityMismatch Event event) 71 static void RecordSriResourceIntegrityMismatchEvent(SriResourceIntegrityMismatch Event event)
72 { 72 {
73 Platform::current()->histogramEnumeration("sri.resource_integrity_mismatch_e vent", event, SriResourceIntegrityMismatchEventCount); 73 Platform::current()->histogramEnumeration("sri.resource_integrity_mismatch_e vent", event, SriResourceIntegrityMismatchEventCount);
74 } 74 }
75 75
76 static ResourceLoadPriority typeToPriority(Resource::Type type) 76 static ResourceLoadPriority typeToPriority(Resource::Type type)
77 { 77 {
78 switch (type) { 78 switch (type) {
79 case Resource::MainResource: 79 case Resource::MainResource:
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1162 visitor->trace(m_archiveResourceCollection); 1162 visitor->trace(m_archiveResourceCollection);
1163 visitor->trace(m_loaders); 1163 visitor->trace(m_loaders);
1164 visitor->trace(m_nonBlockingLoaders); 1164 visitor->trace(m_nonBlockingLoaders);
1165 #if ENABLE(OILPAN) 1165 #if ENABLE(OILPAN)
1166 visitor->trace(m_documentResources); 1166 visitor->trace(m_documentResources);
1167 visitor->trace(m_preloads); 1167 visitor->trace(m_preloads);
1168 visitor->trace(m_resourceTimingInfoMap); 1168 visitor->trace(m_resourceTimingInfoMap);
1169 #endif 1169 #endif
1170 } 1170 }
1171 1171
1172 } 1172 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ResourceClientWalker.h ('k') | third_party/WebKit/Source/core/fetch/ResourceLoader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698