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

Side by Side Diff: third_party/WebKit/Source/core/inspector/InspectorTraceEvents.cpp

Issue 1835773002: Rename AtomicString::string() to AtomicString::getString(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Windows Created 4 years, 9 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "core/inspector/InspectorTraceEvents.h" 5 #include "core/inspector/InspectorTraceEvents.h"
6 6
7 #include "bindings/core/v8/ScriptCallStack.h" 7 #include "bindings/core/v8/ScriptCallStack.h"
8 #include "bindings/core/v8/ScriptSourceCode.h" 8 #include "bindings/core/v8/ScriptSourceCode.h"
9 #include "core/animation/Animation.h" 9 #include "core/animation/Animation.h"
10 #include "core/animation/KeyframeEffect.h" 10 #include "core/animation/KeyframeEffect.h"
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after
425 } 425 }
426 426
427 PassOwnPtr<TracedValue> InspectorReceiveResponseEvent::data(unsigned long identi fier, LocalFrame* frame, const ResourceResponse& response) 427 PassOwnPtr<TracedValue> InspectorReceiveResponseEvent::data(unsigned long identi fier, LocalFrame* frame, const ResourceResponse& response)
428 { 428 {
429 String requestId = IdentifiersFactory::requestId(identifier); 429 String requestId = IdentifiersFactory::requestId(identifier);
430 430
431 OwnPtr<TracedValue> value = TracedValue::create(); 431 OwnPtr<TracedValue> value = TracedValue::create();
432 value->setString("requestId", requestId); 432 value->setString("requestId", requestId);
433 value->setString("frame", toHexString(frame)); 433 value->setString("frame", toHexString(frame));
434 value->setInteger("statusCode", response.httpStatusCode()); 434 value->setInteger("statusCode", response.httpStatusCode());
435 value->setString("mimeType", response.mimeType().string().isolatedCopy()); 435 value->setString("mimeType", response.mimeType().getString().isolatedCopy()) ;
436 return value.release(); 436 return value.release();
437 } 437 }
438 438
439 PassOwnPtr<TracedValue> InspectorReceiveDataEvent::data(unsigned long identifier , LocalFrame* frame, int encodedDataLength) 439 PassOwnPtr<TracedValue> InspectorReceiveDataEvent::data(unsigned long identifier , LocalFrame* frame, int encodedDataLength)
440 { 440 {
441 String requestId = IdentifiersFactory::requestId(identifier); 441 String requestId = IdentifiersFactory::requestId(identifier);
442 442
443 OwnPtr<TracedValue> value = TracedValue::create(); 443 OwnPtr<TracedValue> value = TracedValue::create();
444 value->setString("requestId", requestId); 444 value->setString("requestId", requestId);
445 value->setString("frame", toHexString(frame)); 445 value->setString("frame", toHexString(frame));
(...skipping 417 matching lines...) Expand 10 before | Expand all | Expand 10 after
863 if (request.move()) 863 if (request.move())
864 value->setBoolean("move", true); 864 value->setBoolean("move", true);
865 if (request.listBased()) 865 if (request.listBased())
866 value->setBoolean("listBased", true); 866 value->setBoolean("listBased", true);
867 else if (Node* node = result.innerNode()) 867 else if (Node* node = result.innerNode())
868 setNodeInfo(value.get(), node, "nodeId", "nodeName"); 868 setNodeInfo(value.get(), node, "nodeId", "nodeName");
869 return value.release(); 869 return value.release();
870 } 870 }
871 871
872 } // namespace blink 872 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698