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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java

Issue 141533006: [Android] Move the java content/ package to content_public/ to start the split. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Small fixes and findbugs line update Created 6 years, 11 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: content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java b/content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java
deleted file mode 100644
index 3c561c3c49030d3a1b1d39fd8e754ecf5791318e..0000000000000000000000000000000000000000
--- a/content/public/android/java/src/org/chromium/content/browser/PowerSaveBlocker.java
+++ /dev/null
@@ -1,20 +0,0 @@
-// Copyright 2013 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.
-
-package org.chromium.content.browser;
-
-import org.chromium.base.CalledByNative;
-import org.chromium.ui.base.ViewAndroid;
-
-class PowerSaveBlocker {
- @CalledByNative
- private static void applyBlock(ViewAndroid view) {
- view.incrementKeepScreenOnCount();
- }
-
- @CalledByNative
- private static void removeBlock(ViewAndroid view) {
- view.decrementKeepScreenOnCount();
- }
-}

Powered by Google App Engine
This is Rietveld 408576698