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

Unified Diff: ios/chrome/browser/physical_web/create_physical_web_data_source.h

Issue 2113473002: Add a Physical Web data source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: components/physical_web.gypi Created 4 years, 5 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: ios/chrome/browser/physical_web/create_physical_web_data_source.h
diff --git a/ios/chrome/browser/physical_web/create_physical_web_data_source.h b/ios/chrome/browser/physical_web/create_physical_web_data_source.h
new file mode 100644
index 0000000000000000000000000000000000000000..4d9d736364f1d1ad1b2aea30b6f8b8eebf88c9b8
--- /dev/null
+++ b/ios/chrome/browser/physical_web/create_physical_web_data_source.h
@@ -0,0 +1,20 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef IOS_CHROME_BROWSER_PHYSICAL_WEB_CREATE_PHYSICAL_WEB_DATA_SOURCE_H_
+#define IOS_CHROME_BROWSER_PHYSICAL_WEB_CREATE_PHYSICAL_WEB_DATA_SOURCE_H_
+
+#include <memory>
+
+class PhysicalWebDataSource;
+
+// Creates a new instance of IOSChromePhysicalWebDataSource. The returned object
+// is fully initialized and can be registered as global singleton.
+//
+// This helper function allows the construction of
sdefresne 2016/08/02 22:23:36 I would remove this paragraph as it is an implemen
mattreynolds 2016/08/04 00:56:12 Done.
+// IOSChromePhysicalWebDataSource from pure C++ (IOSChromePhysicalWebDataSource
+// is an Objective-C++ class).
+std::unique_ptr<PhysicalWebDataSource> CreateIOSChromePhysicalWebDataSource();
+
+#endif // IOS_CHROME_BROWSER_PHYSICAL_WEB_CREATE_PHYSICAL_WEB_DATA_SOURCE_H_

Powered by Google App Engine
This is Rietveld 408576698