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

Unified Diff: device/power_save_blocker/android/java/src/org/chromium/device/power_save_blocker/PowerSaveBlocker.java

Issue 2075153002: Reland of 'Move content/browser/power_save_blocker to //device/power_save_blocker' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: missing libs for component mac Created 4 years, 6 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 | « device/power_save_blocker/OWNERS ('k') | device/power_save_blocker/power_save_blocker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/power_save_blocker/android/java/src/org/chromium/device/power_save_blocker/PowerSaveBlocker.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java b/device/power_save_blocker/android/java/src/org/chromium/device/power_save_blocker/PowerSaveBlocker.java
similarity index 95%
rename from content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java
rename to device/power_save_blocker/android/java/src/org/chromium/device/power_save_blocker/PowerSaveBlocker.java
index 915d668da16f01c7d09df3a7cc9c3c323a99434f..3638d98071e6e51afe80efc1da5ab0e9fa2f7028 100644
--- a/content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java
+++ b/device/power_save_blocker/android/java/src/org/chromium/device/power_save_blocker/PowerSaveBlocker.java
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-package org.chromium.content.browser;
+package org.chromium.device.power_save_blocker;
import android.view.View;
@@ -12,7 +12,7 @@ import org.chromium.ui.base.ViewAndroidDelegate;
import java.lang.ref.WeakReference;
-@JNINamespace("content")
+@JNINamespace("device")
class PowerSaveBlocker {
// WeakReference to prevent leaks in Android WebView.
private WeakReference<View> mKeepScreenOnView;
« no previous file with comments | « device/power_save_blocker/OWNERS ('k') | device/power_save_blocker/power_save_blocker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698