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

Unified Diff: third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h

Issue 2238423002: [DevTools] Generate all files in inspector_protocol. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2240663003
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h
diff --git a/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h b/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h
deleted file mode 100644
index 56ac442435262b86004d0fdb48d34655187b0ac7..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/inspector_protocol/ErrorSupport.h
+++ /dev/null
@@ -1,42 +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 ErrorSupport_h
-#define ErrorSupport_h
-
-#include "platform/inspector_protocol/Platform.h"
-#include "platform/inspector_protocol/String16.h"
-
-#include <vector>
-
-namespace blink {
-namespace protocol {
-
-using ErrorString = String16;
-
-class PLATFORM_EXPORT ErrorSupport {
-public:
- ErrorSupport();
- ErrorSupport(String16* errorString);
- ~ErrorSupport();
-
- void push();
- void setName(const String16&);
- void pop();
- void addError(const String16&);
- bool hasErrors();
- String16 errors();
-
-private:
- std::vector<String16> m_path;
- std::vector<String16> m_errors;
- String16* m_errorString;
-};
-
-} // namespace platform
-} // namespace blink
-
-using blink::protocol::ErrorString;
-
-#endif // !defined(ErrorSupport_h)

Powered by Google App Engine
This is Rietveld 408576698