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

Side by Side Diff: blimp/client/android/blimp_jni_registrar.cc

Issue 1295243003: Initial commit of the blimp/ folder and target (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "blimp/client/android/blimp_jni_registrar.h"
6
7 #include "base/android/jni_registrar.h"
8 #include "blimp/client/android/blimp_library_loader.h"
9 #include "blimp/client/android/blimp_view.h"
10
11 namespace {
12
13 static base::android::RegistrationMethod kBlimpRegistrationMethods[] = {
Wez 2015/08/27 02:01:50 const? Why does this need to be static if it's al
David Trainor- moved to gerrit 2015/09/03 06:33:20 Ah good point about the static. It's generally sp
14 {"BlimpLibraryLoader", blimp::RegisterBlimpLibraryLoaderJni},
15 {"BlimpView", blimp::BlimpView::RegisterJni},
16 };
17
18 } // namespace
19
20 namespace blimp {
21
22 bool RegisterBlimpJni(JNIEnv* env) {
23 return base::android::RegisterNativeMethods(
24 env, kBlimpRegistrationMethods, arraysize(kBlimpRegistrationMethods));
25 }
26
27 } // namespace blimp
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698