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

Side by Side Diff: third_party/WebKit/Source/core/html/parser/HTMLDocumentParser.cpp

Issue 2812013004: Rewrite references to "wtf/" to "platform/wtf/" in core/{dom,html,xml}. (Closed)
Patch Set: Created 3 years, 8 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) 2010 Google, Inc. All Rights Reserved. 2 * Copyright (C) 2010 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 #include "core/loader/LinkLoader.h" 47 #include "core/loader/LinkLoader.h"
48 #include "core/loader/NavigationScheduler.h" 48 #include "core/loader/NavigationScheduler.h"
49 #include "core/probe/CoreProbes.h" 49 #include "core/probe/CoreProbes.h"
50 #include "platform/CrossThreadFunctional.h" 50 #include "platform/CrossThreadFunctional.h"
51 #include "platform/Histogram.h" 51 #include "platform/Histogram.h"
52 #include "platform/SharedBuffer.h" 52 #include "platform/SharedBuffer.h"
53 #include "platform/WebFrameScheduler.h" 53 #include "platform/WebFrameScheduler.h"
54 #include "platform/heap/Handle.h" 54 #include "platform/heap/Handle.h"
55 #include "platform/instrumentation/tracing/TraceEvent.h" 55 #include "platform/instrumentation/tracing/TraceEvent.h"
56 #include "platform/loader/fetch/ResourceFetcher.h" 56 #include "platform/loader/fetch/ResourceFetcher.h"
57 #include "platform/wtf/AutoReset.h"
58 #include "platform/wtf/PtrUtil.h"
57 #include "public/platform/Platform.h" 59 #include "public/platform/Platform.h"
58 #include "public/platform/WebLoadingBehaviorFlag.h" 60 #include "public/platform/WebLoadingBehaviorFlag.h"
59 #include "public/platform/WebScheduler.h" 61 #include "public/platform/WebScheduler.h"
60 #include "public/platform/WebThread.h" 62 #include "public/platform/WebThread.h"
61 #include "wtf/AutoReset.h"
62 #include "wtf/PtrUtil.h"
63 63
64 namespace blink { 64 namespace blink {
65 65
66 using namespace HTMLNames; 66 using namespace HTMLNames;
67 67
68 // This is a direct transcription of step 4 from: 68 // This is a direct transcription of step 4 from:
69 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#frag ment-case 69 // http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#frag ment-case
70 static HTMLTokenizer::State TokenizerStateForContextElement( 70 static HTMLTokenizer::State TokenizerStateForContextElement(
71 Element* context_element, 71 Element* context_element,
72 bool report_errors, 72 bool report_errors,
(...skipping 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1329 success_histogram.Count(duration); 1329 success_histogram.Count(duration);
1330 } else { 1330 } else {
1331 DEFINE_STATIC_LOCAL( 1331 DEFINE_STATIC_LOCAL(
1332 CustomCountHistogram, failure_histogram, 1332 CustomCountHistogram, failure_histogram,
1333 ("PreloadScanner.DocumentWrite.ExecutionTime.Failure", 1, 10000, 50)); 1333 ("PreloadScanner.DocumentWrite.ExecutionTime.Failure", 1, 10000, 50));
1334 failure_histogram.Count(duration); 1334 failure_histogram.Count(duration);
1335 } 1335 }
1336 } 1336 }
1337 1337
1338 } // namespace blink 1338 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698