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

Unified Diff: third_party/grpc/src/csharp/Grpc.Core/Profiling/IProfiler.cs

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/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);
+ }
+}
« no previous file with comments | « third_party/grpc/src/csharp/Grpc.Core/Method.cs ('k') | third_party/grpc/src/csharp/Grpc.Core/Profiling/ProfilerEntry.cs » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698