Index: third_party/grpc/test/cpp/util/create_test_channel.h |
diff --git a/third_party/WebKit/Source/core/css/CSSGridLineNamesValue.h b/third_party/grpc/test/cpp/util/create_test_channel.h |
similarity index 66% |
copy from third_party/WebKit/Source/core/css/CSSGridLineNamesValue.h |
copy to third_party/grpc/test/cpp/util/create_test_channel.h |
index 721b95240ed17d693c679416dde38025cfc2e4ce..b50d653de3b9d2744949709acd7eaf5c3f5e5492 100644 |
--- a/third_party/WebKit/Source/core/css/CSSGridLineNamesValue.h |
+++ b/third_party/grpc/test/cpp/util/create_test_channel.h |
@@ -1,5 +1,7 @@ |
/* |
- * Copyright (C) 2013 Igalia, S.L. All rights reserved. |
+ * |
+ * Copyright 2015, Google Inc. |
+ * All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
* modification, are permitted provided that the following conditions are |
@@ -26,32 +28,31 @@ |
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
+ * |
*/ |
-#ifndef CSSGridLineNamesValue_h |
-#define CSSGridLineNamesValue_h |
+#ifndef GRPC_TEST_CPP_UTIL_CREATE_TEST_CHANNEL_H |
+#define GRPC_TEST_CPP_UTIL_CREATE_TEST_CHANNEL_H |
-#include "core/css/CSSValueList.h" |
-#include "wtf/PassRefPtr.h" |
+#include <memory> |
-namespace blink { |
+#include <grpc++/security/credentials.h> |
-class CSSGridLineNamesValue : public CSSValueList { |
-public: |
- static CSSGridLineNamesValue* create() |
- { |
- return new CSSGridLineNamesValue(); |
- } |
+namespace grpc { |
+class Channel; |
- String customCSSText() const; |
+std::shared_ptr<Channel> CreateTestChannel(const grpc::string& server, |
+ bool enable_ssl); |
- DEFINE_INLINE_TRACE_AFTER_DISPATCH() { CSSValueList::traceAfterDispatch(visitor); } |
+std::shared_ptr<Channel> CreateTestChannel( |
+ const grpc::string& server, const grpc::string& override_hostname, |
+ bool enable_ssl, bool use_prod_roots); |
-private: |
- CSSGridLineNamesValue(); |
-}; |
+std::shared_ptr<Channel> CreateTestChannel( |
+ const grpc::string& server, const grpc::string& override_hostname, |
+ bool enable_ssl, bool use_prod_roots, |
+ const std::shared_ptr<CallCredentials>& creds); |
-DEFINE_CSS_VALUE_TYPE_CASTS(CSSGridLineNamesValue, isGridLineNamesValue()); |
-} // namespace blink |
+} // namespace grpc |
-#endif |
+#endif // GRPC_TEST_CPP_UTIL_CREATE_TEST_CHANNEL_H |