| Index: third_party/grpc/src/core/support/block_annotate.h
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.idl b/third_party/grpc/src/core/support/block_annotate.h
|
| similarity index 72%
|
| copy from third_party/WebKit/Source/core/inspector/InspectorOverlayHost.idl
|
| copy to third_party/grpc/src/core/support/block_annotate.h
|
| index 322e860a8795ba3a8b16895b2fc0c77eebf03a75..3cd8eee272d3f3556afa9b86b49c26634b592517 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorOverlayHost.idl
|
| +++ b/third_party/grpc/src/core/support/block_annotate.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,17 +28,21 @@
|
| * 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.
|
| + *
|
| */
|
|
|
| -[
|
| - NoInterfaceObject
|
| -] interface InspectorOverlayHost {
|
| - void resume();
|
| - void stepOver();
|
| - void startPropertyChange(DOMString propertyName);
|
| - void changeProperty(float cssDelta);
|
| - void endPropertyChange();
|
| - void clearSelection(boolean commitChanges);
|
| - void nextSelector();
|
| - void previousSelector();
|
| -};
|
| +#ifndef GRPC_INTERNAL_CORE_SUPPORT_BLOCK_ANNOTATE_H
|
| +#define GRPC_INTERNAL_CORE_SUPPORT_BLOCK_ANNOTATE_H
|
| +
|
| +/* These annotations identify the beginning and end of regions where
|
| + the code may block for reasons other than synchronization functions.
|
| + These include poll, epoll, and getaddrinfo. */
|
| +
|
| +#define GRPC_SCHEDULING_START_BLOCKING_REGION \
|
| + do { \
|
| + } while (0)
|
| +#define GRPC_SCHEDULING_END_BLOCKING_REGION \
|
| + do { \
|
| + } while (0)
|
| +
|
| +#endif /* GRPC_INTERNAL_CORE_SUPPORT_BLOCK_ANNOTATE_H */
|
|
|