| 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 */
|
|
|