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

Side by Side Diff: chrome/browser/ui/android/infobars/infobar_container_android.cc

Issue 2373523003: Clean up sparse_histogram.h header (Closed)
Patch Set: Rebase update on Oct 18 Created 4 years, 2 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/ui/android/infobars/infobar_container_android.h" 5 #include "chrome/browser/ui/android/infobars/infobar_container_android.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/metrics/sparse_histogram.h" 10 #include "base/metrics/histogram_macros.h"
11 #include "chrome/browser/infobars/infobar_service.h" 11 #include "chrome/browser/infobars/infobar_service.h"
12 #include "chrome/browser/ui/android/infobars/infobar_android.h" 12 #include "chrome/browser/ui/android/infobars/infobar_android.h"
13 #include "components/infobars/core/infobar.h" 13 #include "components/infobars/core/infobar.h"
14 #include "components/infobars/core/infobar_delegate.h" 14 #include "components/infobars/core/infobar_delegate.h"
15 #include "content/public/browser/web_contents.h" 15 #include "content/public/browser/web_contents.h"
16 #include "jni/InfoBarContainer_jni.h" 16 #include "jni/InfoBarContainer_jni.h"
17 17
18 using base::android::JavaParamRef; 18 using base::android::JavaParamRef;
19 19
20 // InfoBarContainerAndroid ---------------------------------------------------- 20 // InfoBarContainerAndroid ----------------------------------------------------
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { 107 static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) {
108 InfoBarContainerAndroid* infobar_container = 108 InfoBarContainerAndroid* infobar_container =
109 new InfoBarContainerAndroid(env, obj); 109 new InfoBarContainerAndroid(env, obj);
110 return reinterpret_cast<intptr_t>(infobar_container); 110 return reinterpret_cast<intptr_t>(infobar_container);
111 } 111 }
112 112
113 bool RegisterInfoBarContainer(JNIEnv* env) { 113 bool RegisterInfoBarContainer(JNIEnv* env) {
114 return RegisterNativesImpl(env); 114 return RegisterNativesImpl(env);
115 } 115 }
OLDNEW
« no previous file with comments | « chrome/browser/supervised_user/supervised_user_resource_throttle.cc ('k') | chrome/browser/ui/webui/log_web_ui_url.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698