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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java

Issue 1927593004: Add a PhysicalWebEnvironment class (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
index b192466490bc4e8243fb7e941c5df861cc334108..97036ba16a815a38a3241128411918fcbcc0d682 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java
@@ -63,6 +63,7 @@ import org.chromium.chrome.browser.notifications.NotificationPlatformBridge;
import org.chromium.chrome.browser.omaha.RequestGenerator;
import org.chromium.chrome.browser.partnercustomizations.PartnerBrowserCustomizations;
import org.chromium.chrome.browser.physicalweb.PhysicalWebBleClient;
+import org.chromium.chrome.browser.physicalweb.PhysicalWebEnvironment;
import org.chromium.chrome.browser.policy.PolicyAuditor;
import org.chromium.chrome.browser.preferences.LocationSettings;
import org.chromium.chrome.browser.preferences.PrefServiceBridge;
@@ -652,13 +653,20 @@ public class ChromeApplication extends ContentApplication {
}
/**
- * @return A new PhysicalWebBleClient instance.
+ * @return A new {@link PhysicalWebBleClient} instance.
*/
public PhysicalWebBleClient createPhysicalWebBleClient() {
return new PhysicalWebBleClient();
}
/**
+ * @return A new {@link PhysicalWebEnvironment} instance.
+ */
+ public PhysicalWebEnvironment createPhysicalWebEnvironment() {
+ return new PhysicalWebEnvironment();
+ }
+
+ /**
* @return Instance of printing controller that is shared among all chromium activities. May
* return null if printing is not supported on the platform.
*/
« no previous file with comments | « no previous file | chrome/android/java/src/org/chromium/chrome/browser/physicalweb/PhysicalWebEnvironment.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698