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

Unified Diff: third_party/WebKit/Source/core/inspector/v8/SourceMap.h

Issue 1588053004: Revert of [DevTools] Added base SourceMap implementation on backend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/inspector/v8/SourceMap.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/inspector/v8/SourceMap.h
diff --git a/third_party/WebKit/Source/core/inspector/v8/SourceMap.h b/third_party/WebKit/Source/core/inspector/v8/SourceMap.h
deleted file mode 100644
index e7e5ca1dab50bcea4c960b04de9174839d7f5515..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/inspector/v8/SourceMap.h
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef SourceMap_h
-#define SourceMap_h
-
-#include "core/CoreExport.h"
-#include "wtf/Noncopyable.h"
-#include "wtf/OwnPtr.h"
-#include "wtf/PassOwnPtr.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class JSONObject;
-
-class CORE_EXPORT SourceMap {
- WTF_MAKE_NONCOPYABLE(SourceMap);
-public:
- class CORE_EXPORT Entry {
- WTF_MAKE_NONCOPYABLE(Entry);
- public:
- int line;
- int column;
- String sourceURL;
- int sourceLine;
- int sourceColumn;
-
- Entry(int line, int column, const String& sourceURL = String(), int sourceLine = 0, int sourceColumn = 0);
- Entry()
- : line(0)
- , column(0)
- , sourceLine(0)
- , sourceColumn(0)
- {
- }
- };
-
- static PassOwnPtr<SourceMap> parse(const String& json, int offsetLine = 0, int offsetColumn = 0);
-
- const Entry* findEntry(int line, int column);
-
-private:
- SourceMap() { }
-
- bool parseSection(PassRefPtr<JSONObject> sectionObject, int offsetLine, int offsetColumn);
- bool parseMap(PassRefPtr<JSONObject> mapObject, int offsetLine, int offsetColumn);
-
- Vector<OwnPtr<Entry>> m_mappings;
-};
-
-} // namespace blink
-
-#endif // SourceMap_h
« no previous file with comments | « third_party/WebKit/Source/core/core.gypi ('k') | third_party/WebKit/Source/core/inspector/v8/SourceMap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698