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

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

Issue 2800213002: Avoid duplicate functions/code in core/inspector.
Patch Set: Addressed review comments. Created 3 years, 4 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) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 25 matching lines...) Expand all
36 #include "core/dom/ContextFeatures.h" 36 #include "core/dom/ContextFeatures.h"
37 #include "core/dom/Document.h" 37 #include "core/dom/Document.h"
38 #include "core/dom/DocumentFragment.h" 38 #include "core/dom/DocumentFragment.h"
39 #include "core/dom/Node.h" 39 #include "core/dom/Node.h"
40 #include "core/dom/NodeTraversal.h" 40 #include "core/dom/NodeTraversal.h"
41 #include "core/dom/XMLDocument.h" 41 #include "core/dom/XMLDocument.h"
42 #include "core/html/HTMLBodyElement.h" 42 #include "core/html/HTMLBodyElement.h"
43 #include "core/html/HTMLDocument.h" 43 #include "core/html/HTMLDocument.h"
44 #include "core/html/HTMLHeadElement.h" 44 #include "core/html/HTMLHeadElement.h"
45 #include "core/html/parser/HTMLDocumentParser.h" 45 #include "core/html/parser/HTMLDocumentParser.h"
46 #include "core/inspector/AddStringToDigestor.h"
47 #include "core/inspector/DOMEditor.h" 46 #include "core/inspector/DOMEditor.h"
47 #include "core/inspector/InspectorHelpers.h"
48 #include "core/inspector/InspectorHistory.h" 48 #include "core/inspector/InspectorHistory.h"
49 #include "core/xml/parser/XMLDocumentParser.h" 49 #include "core/xml/parser/XMLDocumentParser.h"
50 #include "platform/Crypto.h" 50 #include "platform/Crypto.h"
51 #include "platform/wtf/Deque.h" 51 #include "platform/wtf/Deque.h"
52 #include "platform/wtf/HashTraits.h" 52 #include "platform/wtf/HashTraits.h"
53 #include "platform/wtf/RefPtr.h" 53 #include "platform/wtf/RefPtr.h"
54 #include "platform/wtf/text/Base64.h" 54 #include "platform/wtf/text/Base64.h"
55 #include "platform/wtf/text/CString.h" 55 #include "platform/wtf/text/CString.h"
56 #include "public/platform/Platform.h" 56 #include "public/platform/Platform.h"
57 57
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
533 queue.push_back(first->children_[i].Get()); 533 queue.push_back(first->children_[i].Get());
534 } 534 }
535 } 535 }
536 536
537 DEFINE_TRACE(DOMPatchSupport::Digest) { 537 DEFINE_TRACE(DOMPatchSupport::Digest) {
538 visitor->Trace(node_); 538 visitor->Trace(node_);
539 visitor->Trace(children_); 539 visitor->Trace(children_);
540 } 540 }
541 541
542 } // namespace blink 542 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698