blob: bee27d5f742ce6c73c1cf7fa1f99fa6f3527f440 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright 2016 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.
#ifndef CHROME_BROWSER_ANDROID_NTP_NTP_SNIPPETS_CONTROLLER_H_
#define CHROME_BROWSER_ANDROID_NTP_NTP_SNIPPETS_CONTROLLER_H_
#include <jni.h>
#include "base/android/scoped_java_ref.h"
// The C++ counterpart to SnippetsController.java. Enables Java code to fetch
// snippets from the server
class NTPSnippetsController {
public:
static bool Register(JNIEnv* env);
DISALLOW_COPY_AND_ASSIGN(NTPSnippetsController);
};
#endif // CHROME_BROWSER_ANDROID_NTP_NTP_SNIPPETS_CONTROLLER_H_
|