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

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: move data source instance to ApplicationContext Created 4 years, 4 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..098a853a54e7301a8073a91e08221f16c58d9058
--- /dev/null
+++ b/ios/chrome/browser/physical_web/create_physical_web_data_source.h
@@ -0,0 +1,16 @@
+// 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.
+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