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

Side by Side Diff: chrome/browser/interstitials/chrome_controller_client.cc

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 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/interstitials/chrome_controller_client.h" 5 #include "chrome/browser/interstitials/chrome_controller_client.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/files/file_util.h" 9 #include "base/files/file_util.h"
10 #include "base/prefs/pref_service.h" 10 #include "base/prefs/pref_service.h"
11 #include "base/process/launch.h" 11 #include "base/process/launch.h"
12 #include "build/build_config.h"
12 #include "chrome/browser/browser_process.h" 13 #include "chrome/browser/browser_process.h"
13 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
14 #include "chrome/common/pref_names.h" 15 #include "chrome/common/pref_names.h"
15 #include "content/public/browser/browser_thread.h" 16 #include "content/public/browser/browser_thread.h"
16 #include "content/public/browser/interstitial_page.h" 17 #include "content/public/browser/interstitial_page.h"
17 #include "content/public/browser/web_contents.h" 18 #include "content/public/browser/web_contents.h"
18 #include "content/public/common/referrer.h" 19 #include "content/public/common/referrer.h"
19 20
20 #if defined(OS_ANDROID) 21 #if defined(OS_ANDROID)
21 #include "chrome/browser/android/intent_helper.h" 22 #include "chrome/browser/android/intent_helper.h"
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 180
180 PrefService* ChromeControllerClient::GetPrefService() { 181 PrefService* ChromeControllerClient::GetPrefService() {
181 Profile* profile = 182 Profile* profile =
182 Profile::FromBrowserContext(web_contents_->GetBrowserContext()); 183 Profile::FromBrowserContext(web_contents_->GetBrowserContext());
183 return profile->GetPrefs(); 184 return profile->GetPrefs();
184 } 185 }
185 186
186 const std::string ChromeControllerClient::GetExtendedReportingPrefName() { 187 const std::string ChromeControllerClient::GetExtendedReportingPrefName() {
187 return prefs::kSafeBrowsingExtendedReportingEnabled; 188 return prefs::kSafeBrowsingExtendedReportingEnabled;
188 } 189 }
OLDNEW
« no previous file with comments | « chrome/browser/internal_auth_unittest.cc ('k') | chrome/browser/interstitials/chrome_metrics_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698