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

Side by Side Diff: chrome/browser/android/app_hooks.h

Issue 2888273003: [Offline Pages] Add an observer for requests in the CCT namespace. (Closed)
Patch Set: comments. Created 3 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 unified diff | Download patch
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/app_hooks.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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 #ifndef CHROME_BROWSER_ANDROID_APP_HOOKS_H_ 5 #ifndef CHROME_BROWSER_ANDROID_APP_HOOKS_H_
6 #define CHROME_BROWSER_ANDROID_APP_HOOKS_H_ 6 #define CHROME_BROWSER_ANDROID_APP_HOOKS_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 #include "base/android/scoped_java_ref.h"
9 #include "base/macros.h" 10 #include "base/macros.h"
10 11
11 namespace chrome { 12 namespace chrome {
12 namespace android { 13 namespace android {
13 14
14 class AppHooks { 15 class AppHooks {
15 public: 16 public:
16 static bool ShouldDetectVideoFullscreen(); 17 static bool ShouldDetectVideoFullscreen();
18 static base::android::ScopedJavaLocalRef<jobject>
19 GetOfflinePagesCCTRequestDoneCallback();
17 20
18 private: 21 private:
19 AppHooks(); 22 AppHooks();
20 ~AppHooks(); 23 ~AppHooks();
21 24
22 DISALLOW_COPY_AND_ASSIGN(AppHooks); 25 DISALLOW_COPY_AND_ASSIGN(AppHooks);
23 }; 26 };
24 27
25 } // namespace android 28 } // namespace android
26 } // namespace chrome 29 } // namespace chrome
27 30
28 #endif // CHROME_BROWSER_ANDROID_APP_HOOKS_H_ 31 #endif // CHROME_BROWSER_ANDROID_APP_HOOKS_H_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/android/app_hooks.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698