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

Unified Diff: third_party/grpc/src/core/client_config/client_config.h

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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/grpc/src/core/client_config/client_config.h
diff --git a/third_party/WebKit/Source/modules/filesystem/FileWriterCallback.h b/third_party/grpc/src/core/client_config/client_config.h
similarity index 64%
copy from third_party/WebKit/Source/modules/filesystem/FileWriterCallback.h
copy to third_party/grpc/src/core/client_config/client_config.h
index 62278f80388026636f2863f9b9f92aa9660a5970..04bf036b00b7e411b4dd334d7a3a649f76ada26c 100644
--- a/third_party/WebKit/Source/modules/filesystem/FileWriterCallback.h
+++ b/third_party/grpc/src/core/client_config/client_config.h
@@ -1,5 +1,7 @@
/*
- * Copyright (C) 2010 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,24 +28,26 @@
* 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 FileWriterCallback_h
-#define FileWriterCallback_h
-
-#include "platform/heap/Handle.h"
+#ifndef GRPC_INTERNAL_CORE_CLIENT_CONFIG_CLIENT_CONFIG_H
+#define GRPC_INTERNAL_CORE_CLIENT_CONFIG_CLIENT_CONFIG_H
-namespace blink {
+#include "src/core/client_config/lb_policy.h"
-class FileWriter;
+/** Total configuration for a client. Provided, and updated, by
+ grpc_resolver */
+typedef struct grpc_client_config grpc_client_config;
-class FileWriterCallback : public GarbageCollectedFinalized<FileWriterCallback> {
-public:
- virtual ~FileWriterCallback() { }
- DEFINE_INLINE_VIRTUAL_TRACE() { }
- virtual void handleEvent(FileWriter*) = 0;
-};
+grpc_client_config *grpc_client_config_create();
+void grpc_client_config_ref(grpc_client_config *client_config);
+void grpc_client_config_unref(grpc_exec_ctx *exec_ctx,
+ grpc_client_config *client_config);
-} // namespace blink
+void grpc_client_config_set_lb_policy(grpc_client_config *client_config,
+ grpc_lb_policy *lb_policy);
+grpc_lb_policy *grpc_client_config_get_lb_policy(
+ grpc_client_config *client_config);
-#endif // FileWriterCallback_h
+#endif /* GRPC_INTERNAL_CORE_CLIENT_CONFIG_CLIENT_CONFIG_H */
« no previous file with comments | « third_party/grpc/src/core/client_config/README.md ('k') | third_party/grpc/src/core/client_config/client_config.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698