Index: third_party/grpc/src/csharp/Grpc.Core/Profiling/IProfiler.cs |
diff --git a/breakpad/linux/breakpad_googletest_includes.h b/third_party/grpc/src/csharp/Grpc.Core/Profiling/IProfiler.cs |
similarity index 81% |
copy from breakpad/linux/breakpad_googletest_includes.h |
copy to third_party/grpc/src/csharp/Grpc.Core/Profiling/IProfiler.cs |
index aeab31563d41063c69d26fcf9da83b1397e0d67d..e850375004ec42fd3d615f43051e3669e6fdf9bb 100644 |
--- a/breakpad/linux/breakpad_googletest_includes.h |
+++ b/third_party/grpc/src/csharp/Grpc.Core/Profiling/IProfiler.cs |
@@ -1,4 +1,6 @@ |
-// Copyright (c) 2009, Google Inc. |
+#region Copyright notice and license |
+ |
+// Copyright 2015, Google Inc. |
// All rights reserved. |
// |
// Redistribution and use in source and binary forms, with or without |
@@ -27,10 +29,21 @@ |
// (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 BREAKPAD_GOOGLETEST_INCLUDES_H__ |
-#define BREAKPAD_GOOGLETEST_INCLUDES_H__ |
+#endregion |
+ |
+using System; |
+using System.IO; |
+using System.Threading; |
+using Grpc.Core.Internal; |
+ |
+namespace Grpc.Core.Profiling |
+{ |
+ internal interface IProfiler |
+ { |
+ void Begin(string tag); |
-#include "testing/gtest/include/gtest/gtest.h" |
-#include "testing/gmock/include/gmock/gmock.h" |
+ void End(string tag); |
-#endif // BREAKPAD_GOOGLETEST_INCLUDES_H__ |
+ void Mark(string tag); |
+ } |
+} |