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

Side by Side Diff: chrome/browser/android/chrome_jni_registrar.cc

Issue 2767333006: Add Digital Asset Links verification for postMessage API (Closed)
Patch Set: moved digital_asset_links to a component Created 3 years, 8 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 "chrome/browser/android/chrome_jni_registrar.h" 5 #include "chrome/browser/android/chrome_jni_registrar.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_registrar.h" 8 #include "base/android/jni_registrar.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/trace_event/trace_event.h" 10 #include "base/trace_event/trace_event.h"
(...skipping 20 matching lines...) Expand all
31 #include "chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.h " 31 #include "chrome/browser/android/compositor/scene_layer/static_tab_scene_layer.h "
32 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h" 32 #include "chrome/browser/android/compositor/scene_layer/tab_list_scene_layer.h"
33 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h" 33 #include "chrome/browser/android/compositor/scene_layer/tab_strip_scene_layer.h"
34 #include "chrome/browser/android/compositor/scene_layer/toolbar_scene_layer.h" 34 #include "chrome/browser/android/compositor/scene_layer/toolbar_scene_layer.h"
35 #include "chrome/browser/android/compositor/tab_content_manager.h" 35 #include "chrome/browser/android/compositor/tab_content_manager.h"
36 #include "chrome/browser/android/contextualsearch/contextual_search_context.h" 36 #include "chrome/browser/android/contextualsearch/contextual_search_context.h"
37 #include "chrome/browser/android/contextualsearch/contextual_search_manager.h" 37 #include "chrome/browser/android/contextualsearch/contextual_search_manager.h"
38 #include "chrome/browser/android/contextualsearch/contextual_search_tab_helper.h " 38 #include "chrome/browser/android/contextualsearch/contextual_search_tab_helper.h "
39 #include "chrome/browser/android/contextualsearch/ctr_suppression.h" 39 #include "chrome/browser/android/contextualsearch/ctr_suppression.h"
40 #include "chrome/browser/android/cookies/cookies_fetcher.h" 40 #include "chrome/browser/android/cookies/cookies_fetcher.h"
41 #include "chrome/browser/android/customtabs/origin_verifier.h"
41 #include "chrome/browser/android/data_usage/data_use_tab_ui_manager_android.h" 42 #include "chrome/browser/android/data_usage/data_use_tab_ui_manager_android.h"
42 #include "chrome/browser/android/data_usage/external_data_use_observer_bridge.h" 43 #include "chrome/browser/android/data_usage/external_data_use_observer_bridge.h"
43 #include "chrome/browser/android/devtools_server.h" 44 #include "chrome/browser/android/devtools_server.h"
44 #include "chrome/browser/android/document/document_web_contents_delegate.h" 45 #include "chrome/browser/android/document/document_web_contents_delegate.h"
45 #include "chrome/browser/android/dom_distiller/distiller_ui_handle_android.h" 46 #include "chrome/browser/android/dom_distiller/distiller_ui_handle_android.h"
46 #include "chrome/browser/android/download/chrome_download_delegate.h" 47 #include "chrome/browser/android/download/chrome_download_delegate.h"
47 #include "chrome/browser/android/download/download_controller.h" 48 #include "chrome/browser/android/download/download_controller.h"
48 #include "chrome/browser/android/download/download_manager_service.h" 49 #include "chrome/browser/android/download/download_manager_service.h"
49 #include "chrome/browser/android/download/items/offline_content_aggregator_facto ry_android.h" 50 #include "chrome/browser/android/download/items/offline_content_aggregator_facto ry_android.h"
50 #include "chrome/browser/android/download/ui/thumbnail_provider.h" 51 #include "chrome/browser/android/download/ui/thumbnail_provider.h"
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
345 {"OfflinePageDownloadBridge", 346 {"OfflinePageDownloadBridge",
346 offline_pages::android::OfflinePageDownloadBridge::Register}, 347 offline_pages::android::OfflinePageDownloadBridge::Register},
347 #if !defined(OFFICIAL_BUILD) 348 #if !defined(OFFICIAL_BUILD)
348 {"OfflinePageEvaluationBridge", 349 {"OfflinePageEvaluationBridge",
349 offline_pages::android::OfflinePageEvaluationBridge::Register}, 350 offline_pages::android::OfflinePageEvaluationBridge::Register},
350 #endif 351 #endif
351 {"OmniboxPrerender", RegisterOmniboxPrerender}, 352 {"OmniboxPrerender", RegisterOmniboxPrerender},
352 {"OmniboxUrlEmphasizer", 353 {"OmniboxUrlEmphasizer",
353 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer}, 354 OmniboxUrlEmphasizer::RegisterOmniboxUrlEmphasizer},
354 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil}, 355 {"OmniboxViewUtil", OmniboxViewUtil::RegisterOmniboxViewUtil},
356 {"OriginVerifier", customtabs::RegisterOriginVerifier},
355 {"OverlayPanelContent", RegisterOverlayPanelContent}, 357 {"OverlayPanelContent", RegisterOverlayPanelContent},
356 {"PartnerBookmarksReader", 358 {"PartnerBookmarksReader",
357 PartnerBookmarksReader::RegisterPartnerBookmarksReader}, 359 PartnerBookmarksReader::RegisterPartnerBookmarksReader},
358 {"PasswordGenerationPopup", 360 {"PasswordGenerationPopup",
359 autofill::PasswordGenerationPopupViewAndroid::Register}, 361 autofill::PasswordGenerationPopupViewAndroid::Register},
360 {"PasswordUIViewAndroid", 362 {"PasswordUIViewAndroid",
361 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid}, 363 PasswordUIViewAndroid::RegisterPasswordUIViewAndroid},
362 {"PaymentManifestDownloader", payments::RegisterPaymentManifestDownloader}, 364 {"PaymentManifestDownloader", payments::RegisterPaymentManifestDownloader},
363 {"PaymentManifestParser", payments::RegisterPaymentManifestParser}, 365 {"PaymentManifestParser", payments::RegisterPaymentManifestParser},
364 {"PaymentValidator", payments::RegisterPaymentValidator}, 366 {"PaymentValidator", payments::RegisterPaymentValidator},
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
453 #endif 455 #endif
454 }; 456 };
455 457
456 bool RegisterBrowserJNI(JNIEnv* env) { 458 bool RegisterBrowserJNI(JNIEnv* env) {
457 TRACE_EVENT0("startup", "chrome_android::RegisterJni"); 459 TRACE_EVENT0("startup", "chrome_android::RegisterJni");
458 return RegisterNativeMethods(env, kChromeRegisteredMethods, 460 return RegisterNativeMethods(env, kChromeRegisteredMethods,
459 arraysize(kChromeRegisteredMethods)); 461 arraysize(kChromeRegisteredMethods));
460 } 462 }
461 463
462 } // namespace android 464 } // namespace android
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698