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

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

Issue 2273403003: Moving gRPC support interfaces out of cronet and into a new component. (Closed)
Patch Set: Fix ASAN break Created 4 years, 2 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: components/cronet/ios/test/start_cronet.h
diff --git a/ios/web/webui/resources/web_ui_base.js b/components/cronet/ios/test/start_cronet.h
similarity index 57%
copy from ios/web/webui/resources/web_ui_base.js
copy to components/cronet/ios/test/start_cronet.h
index d5da207180e762dc4a02c55d4a1e123d8e4197e9..9216eb5f1845578829240313dad89336acb6a3e5 100644
--- a/ios/web/webui/resources/web_ui_base.js
+++ b/components/cronet/ios/test/start_cronet.h
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-goog.provide('__crWeb.webUIBase');
+namespace cronet {
-window['chrome'] = window ['chrome'] || {};
+// Starts Cronet if it hasn't already been started.
+void StartCronetIfNecessary();
+} // namespace cronet

Powered by Google App Engine
This is Rietveld 408576698