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

Side by Side Diff: content/browser/power_save_blocker_android.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/android/jni_android.h" 5 #include "base/android/jni_android.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/macros.h"
7 #include "content/browser/android/content_view_core_impl.h" 8 #include "content/browser/android/content_view_core_impl.h"
8 #include "content/browser/power_save_blocker_impl.h" 9 #include "content/browser/power_save_blocker_impl.h"
9 #include "content/browser/web_contents/web_contents_impl.h" 10 #include "content/browser/web_contents/web_contents_impl.h"
10 #include "content/public/browser/android/content_view_core.h" 11 #include "content/public/browser/android/content_view_core.h"
11 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
12 #include "content/public/browser/web_contents_observer.h" 13 #include "content/public/browser/web_contents_observer.h"
13 #include "jni/PowerSaveBlocker_jni.h" 14 #include "jni/PowerSaveBlocker_jni.h"
14 #include "ui/android/view_android.h" 15 #include "ui/android/view_android.h"
15 16
16 namespace content { 17 namespace content {
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 108
108 delegate_ = new Delegate(web_contents); 109 delegate_ = new Delegate(web_contents);
109 delegate_->ApplyBlock(); 110 delegate_->ApplyBlock();
110 } 111 }
111 112
112 bool RegisterPowerSaveBlocker(JNIEnv* env) { 113 bool RegisterPowerSaveBlocker(JNIEnv* env) {
113 return RegisterNativesImpl(env); 114 return RegisterNativesImpl(env);
114 } 115 }
115 116
116 } // namespace content 117 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/power_monitor_message_broadcaster_unittest.cc ('k') | content/browser/power_save_blocker_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698