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

Side by Side Diff: chrome/browser/chrome_content_browser_client.cc

Issue 7253001: Added a private chromeAuthPrivate API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "chrome/app/breakpad_mac.h" 8 #include "chrome/app/breakpad_mac.h"
9 #include "chrome/browser/accessibility/browser_accessibility_state.h" 9 #include "chrome/browser/accessibility/browser_accessibility_state.h"
10 #include "chrome/browser/browser_process.h" 10 #include "chrome/browser/browser_process.h"
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 // Disable client-side phishing detection in the renderer if it is disabled 251 // Disable client-side phishing detection in the renderer if it is disabled
252 // in the browser process. 252 // in the browser process.
253 if (!g_browser_process->safe_browsing_detection_service()) 253 if (!g_browser_process->safe_browsing_detection_service())
254 command_line->AppendSwitch(switches::kDisableClientSidePhishingDetection); 254 command_line->AppendSwitch(switches::kDisableClientSidePhishingDetection);
255 255
256 static const char* const kSwitchNames[] = { 256 static const char* const kSwitchNames[] = {
257 switches::kAllowHTTPBackgroundPage, 257 switches::kAllowHTTPBackgroundPage,
258 switches::kAllowScriptingGallery, 258 switches::kAllowScriptingGallery,
259 switches::kAppsCheckoutURL, 259 switches::kAppsCheckoutURL,
260 switches::kAppsGalleryURL, 260 switches::kAppsGalleryURL,
261 switches::kCloudPrintServiceURL,
261 switches::kDebugPrint, 262 switches::kDebugPrint,
262 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX) 263 #if defined(GOOGLE_CHROME_BUILD) && !defined(OS_CHROMEOS) && !defined(OS_MACOSX)
263 // Enabled by default in Google Chrome builds, except on CrOS. 264 // Enabled by default in Google Chrome builds, except on CrOS.
264 switches::kDisablePrintPreview, 265 switches::kDisablePrintPreview,
265 #else 266 #else
266 // Disabled by default in Chromium builds and on CrOS. 267 // Disabled by default in Chromium builds and on CrOS.
267 switches::kEnablePrintPreview, 268 switches::kEnablePrintPreview,
268 #endif 269 #endif
269 switches::kDomAutomationController, 270 switches::kDomAutomationController,
270 switches::kDumpHistogramsOnExit, 271 switches::kDumpHistogramsOnExit,
(...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after
592 #if defined(USE_NSS) 593 #if defined(USE_NSS)
593 crypto::CryptoModuleBlockingPasswordDelegate* 594 crypto::CryptoModuleBlockingPasswordDelegate*
594 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 595 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
595 const GURL& url) { 596 const GURL& url) {
596 return browser::NewCryptoModuleBlockingDialogDelegate( 597 return browser::NewCryptoModuleBlockingDialogDelegate(
597 browser::kCryptoModulePasswordKeygen, url.host()); 598 browser::kCryptoModulePasswordKeygen, url.host());
598 } 599 }
599 #endif 600 #endif
600 601
601 } // namespace chrome 602 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698