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

Side by Side Diff: chrome/browser/android/preferences/website_preference_bridge.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 2015 The Chromium Authors. All rights reserved. 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 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/preferences/website_preference_bridge.h" 5 #include "chrome/browser/android/preferences/website_preference_bridge.h"
6 6
7 #include "base/android/jni_android.h" 7 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 8 #include "base/android/jni_string.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/macros.h"
13 #include "chrome/browser/browser_process.h" 14 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h" 15 #include "chrome/browser/browsing_data/browsing_data_local_storage_helper.h"
15 #include "chrome/browser/browsing_data/cookies_tree_model.h" 16 #include "chrome/browser/browsing_data/cookies_tree_model.h"
16 #include "chrome/browser/browsing_data/local_data_container.h" 17 #include "chrome/browser/browsing_data/local_data_container.h"
17 #include "chrome/browser/content_settings/cookie_settings_factory.h" 18 #include "chrome/browser/content_settings/cookie_settings_factory.h"
18 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 19 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
19 #include "chrome/browser/content_settings/web_site_settings_uma_util.h" 20 #include "chrome/browser/content_settings/web_site_settings_uma_util.h"
20 #include "chrome/browser/notifications/desktop_notification_profile_util.h" 21 #include "chrome/browser/notifications/desktop_notification_profile_util.h"
21 #include "chrome/browser/profiles/profile.h" 22 #include "chrome/browser/profiles/profile.h"
22 #include "chrome/browser/profiles/profile_manager.h" 23 #include "chrome/browser/profiles/profile_manager.h"
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 GURL url(ConvertJavaStringToUTF8(env, jorigin)); 795 GURL url(ConvertJavaStringToUTF8(env, jorigin));
795 scoped_refptr<SiteDataDeleteHelper> site_data_deleter( 796 scoped_refptr<SiteDataDeleteHelper> site_data_deleter(
796 new SiteDataDeleteHelper(profile, url)); 797 new SiteDataDeleteHelper(profile, url));
797 site_data_deleter->Run(); 798 site_data_deleter->Run();
798 } 799 }
799 800
800 // Register native methods 801 // Register native methods
801 bool RegisterWebsitePreferenceBridge(JNIEnv* env) { 802 bool RegisterWebsitePreferenceBridge(JNIEnv* env) {
802 return RegisterNativesImpl(env); 803 return RegisterNativesImpl(env);
803 } 804 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698