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

Unified Diff: components/cronet/ios/test/start_cronet.h

Issue 2470923002: Revert "Revert of Moving gRPC support interfaces out of cronet and into a new component. (patchset … (Closed)
Patch Set: Address comments Created 4 years, 1 month 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: components/cronet/ios/test/start_cronet.h
diff --git a/chrome/common/shell_handler_win.mojom b/components/cronet/ios/test/start_cronet.h
similarity index 50%
copy from chrome/common/shell_handler_win.mojom
copy to components/cronet/ios/test/start_cronet.h
index b16648d6064b4353ccc4c2c4bc34cc42f0268c46..e965c3e20c81b8a6c125a09d2d06b8e96060fbd4 100644
--- a/chrome/common/shell_handler_win.mojom
+++ b/components/cronet/ios/test/start_cronet.h
@@ -2,9 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-module mojom;
+namespace cronet {
-interface ShellHandler {
- // Returns the pinned state of the current executable.
- IsPinnedToTaskbar() => (bool succeeded, bool is_pinned_to_taskbar);
-};
+// Starts Cronet if it hasn't already been started. Will always update Cronet
+// to point test.example.com" to "localhost:|port|".
+void StartCronetIfNecessary(int port);
+
+} // namespace cronet

Powered by Google App Engine
This is Rietveld 408576698