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

Side by Side Diff: third_party/WebKit/Source/web/WebFrameSerializer.cpp

Issue 2391383002: Moving platform tracing things into platform/tracing. (Closed)
Patch Set: Created 4 years, 2 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 28 matching lines...) Expand all
39 #include "core/frame/RemoteFrame.h" 39 #include "core/frame/RemoteFrame.h"
40 #include "core/html/HTMLAllCollection.h" 40 #include "core/html/HTMLAllCollection.h"
41 #include "core/html/HTMLFrameElementBase.h" 41 #include "core/html/HTMLFrameElementBase.h"
42 #include "core/html/HTMLFrameOwnerElement.h" 42 #include "core/html/HTMLFrameOwnerElement.h"
43 #include "core/html/HTMLInputElement.h" 43 #include "core/html/HTMLInputElement.h"
44 #include "core/html/HTMLTableElement.h" 44 #include "core/html/HTMLTableElement.h"
45 #include "core/loader/DocumentLoader.h" 45 #include "core/loader/DocumentLoader.h"
46 #include "platform/Histogram.h" 46 #include "platform/Histogram.h"
47 #include "platform/SerializedResource.h" 47 #include "platform/SerializedResource.h"
48 #include "platform/SharedBuffer.h" 48 #include "platform/SharedBuffer.h"
49 #include "platform/TraceEvent.h"
50 #include "platform/mhtml/MHTMLArchive.h" 49 #include "platform/mhtml/MHTMLArchive.h"
51 #include "platform/mhtml/MHTMLParser.h" 50 #include "platform/mhtml/MHTMLParser.h"
52 #include "platform/network/ResourceRequest.h" 51 #include "platform/network/ResourceRequest.h"
53 #include "platform/network/ResourceResponse.h" 52 #include "platform/network/ResourceResponse.h"
53 #include "platform/tracing/TraceEvent.h"
54 #include "platform/weborigin/KURL.h" 54 #include "platform/weborigin/KURL.h"
55 #include "public/platform/WebString.h" 55 #include "public/platform/WebString.h"
56 #include "public/platform/WebURL.h" 56 #include "public/platform/WebURL.h"
57 #include "public/platform/WebURLResponse.h" 57 #include "public/platform/WebURLResponse.h"
58 #include "public/platform/WebVector.h" 58 #include "public/platform/WebVector.h"
59 #include "public/web/WebDataSource.h" 59 #include "public/web/WebDataSource.h"
60 #include "public/web/WebDocument.h" 60 #include "public/web/WebDocument.h"
61 #include "public/web/WebFrame.h" 61 #include "public/web/WebFrame.h"
62 #include "public/web/WebFrameSerializerCacheControlPolicy.h" 62 #include "public/web/WebFrameSerializerCacheControlPolicy.h"
63 #include "public/web/WebFrameSerializerClient.h" 63 #include "public/web/WebFrameSerializerClient.h"
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 const WebString& baseTarget) { 306 const WebString& baseTarget) {
307 // TODO(yosin) We should call |FrameSerializer::baseTagDeclarationOf()|. 307 // TODO(yosin) We should call |FrameSerializer::baseTagDeclarationOf()|.
308 if (baseTarget.isEmpty()) 308 if (baseTarget.isEmpty())
309 return String("<base href=\".\">"); 309 return String("<base href=\".\">");
310 String baseString = "<base href=\".\" target=\"" + 310 String baseString = "<base href=\".\" target=\"" +
311 static_cast<const String&>(baseTarget) + "\">"; 311 static_cast<const String&>(baseTarget) + "\">";
312 return baseString; 312 return baseString;
313 } 313 }
314 314
315 } // namespace blink 315 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebDevToolsAgentImpl.cpp ('k') | third_party/WebKit/Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698