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

Side by Side Diff: chrome/browser/android/ntp/ntp_snippets_launcher.h

Issue 1811333003: Move the remaining NTP realted files to c/b/android/ntp subdir. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_NTP_SNIPPETS_LAUNCHER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_NTP_NTP_SNIPPETS_LAUNCHER_H_
6 #define CHROME_BROWSER_ANDROID_NTP_SNIPPETS_LAUNCHER_H_ 6 #define CHROME_BROWSER_ANDROID_NTP_NTP_SNIPPETS_LAUNCHER_H_
7 7
8 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
9 #include "base/lazy_instance.h" 9 #include "base/lazy_instance.h"
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "components/ntp_snippets/ntp_snippets_scheduler.h" 11 #include "components/ntp_snippets/ntp_snippets_scheduler.h"
12 12
13 // Android implementation of ntp_snippets::NTPSnippetsScheduler. 13 // Android implementation of ntp_snippets::NTPSnippetsScheduler.
14 // The NTPSnippetsLauncher singleton owns the Java SnippetsLauncher object, and 14 // The NTPSnippetsLauncher singleton owns the Java SnippetsLauncher object, and
15 // is used to schedule the fetching of snippets. Runs on the UI thread. 15 // is used to schedule the fetching of snippets. Runs on the UI thread.
16 class NTPSnippetsLauncher : public ntp_snippets::NTPSnippetsScheduler { 16 class NTPSnippetsLauncher : public ntp_snippets::NTPSnippetsScheduler {
(...skipping 11 matching lines...) Expand all
28 28
29 // Constructor and destructor marked private to enforce singleton. 29 // Constructor and destructor marked private to enforce singleton.
30 NTPSnippetsLauncher(); 30 NTPSnippetsLauncher();
31 virtual ~NTPSnippetsLauncher(); 31 virtual ~NTPSnippetsLauncher();
32 32
33 base::android::ScopedJavaGlobalRef<jobject> java_launcher_; 33 base::android::ScopedJavaGlobalRef<jobject> java_launcher_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(NTPSnippetsLauncher); 35 DISALLOW_COPY_AND_ASSIGN(NTPSnippetsLauncher);
36 }; 36 };
37 37
38 #endif // CHROME_BROWSER_ANDROID_NTP_SNIPPETS_LAUNCHER_H_ 38 #endif // CHROME_BROWSER_ANDROID_NTP_NTP_SNIPPETS_LAUNCHER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698