Index: third_party/grpc/src/core/client_config/lb_policies/round_robin.h |
diff --git a/third_party/WebKit/Source/wtf/text/StringStatics.h b/third_party/grpc/src/core/client_config/lb_policies/round_robin.h |
similarity index 77% |
copy from third_party/WebKit/Source/wtf/text/StringStatics.h |
copy to third_party/grpc/src/core/client_config/lb_policies/round_robin.h |
index e2c34dda2df2309805ed6deda08921bdee411316..cf1f69c85f6dca3ef345110aeba35e23275be24e 100644 |
--- a/third_party/WebKit/Source/wtf/text/StringStatics.h |
+++ b/third_party/grpc/src/core/client_config/lb_policies/round_robin.h |
@@ -1,5 +1,7 @@ |
/* |
- * Copyright (C) 2013 Google Inc. 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,22 +28,19 @@ |
* 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 StringStatics_h |
-#define StringStatics_h |
+#ifndef GRPC_INTERNAL_CORE_CLIENT_CONFIG_ROUND_ROBIN_H |
+#define GRPC_INTERNAL_CORE_CLIENT_CONFIG_ROUND_ROBIN_H |
-#include "wtf/Allocator.h" |
-#include "wtf/WTFExport.h" |
+#include "src/core/client_config/lb_policy.h" |
-namespace WTF { |
+extern int grpc_lb_round_robin_trace; |
-class StringStatics { |
- STATIC_ONLY(StringStatics); |
-public: |
- WTF_EXPORT static void init(); |
-}; |
+#include "src/core/client_config/lb_policy_factory.h" |
-} |
+/** Returns a load balancing factory for the round robin policy */ |
+grpc_lb_policy_factory *grpc_round_robin_lb_factory_create(); |
#endif |