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

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

Issue 18199003: Allow Chrome OS login profile to have different default pref values (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased. Created 7 years, 5 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) 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/chrome_content_browser_client.h" 5 #include "chrome/browser/chrome_content_browser_client.h"
6 6
7 #include <set> 7 #include <set>
8 #include <utility> 8 #include <utility>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 490 matching lines...) Expand 10 before | Expand all | Expand 10 after
501 #endif 501 #endif
502 502
503 permissions_policy_delegate_.reset( 503 permissions_policy_delegate_.reset(
504 new extensions::BrowserPermissionsPolicyDelegate()); 504 new extensions::BrowserPermissionsPolicyDelegate());
505 } 505 }
506 506
507 ChromeContentBrowserClient::~ChromeContentBrowserClient() { 507 ChromeContentBrowserClient::~ChromeContentBrowserClient() {
508 } 508 }
509 509
510 // static 510 // static
511 void ChromeContentBrowserClient::RegisterUserPrefs( 511 void ChromeContentBrowserClient::RegisterProfilePrefs(
512 user_prefs::PrefRegistrySyncable* registry) { 512 user_prefs::PrefRegistrySyncable* registry) {
513 registry->RegisterBooleanPref( 513 registry->RegisterBooleanPref(
514 prefs::kDisable3DAPIs, 514 prefs::kDisable3DAPIs,
515 false, 515 false,
516 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 516 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
517 registry->RegisterBooleanPref( 517 registry->RegisterBooleanPref(
518 prefs::kEnableHyperlinkAuditing, 518 prefs::kEnableHyperlinkAuditing,
519 true, 519 true,
520 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 520 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
521 registry->RegisterBooleanPref( 521 registry->RegisterBooleanPref(
(...skipping 1905 matching lines...) Expand 10 before | Expand all | Expand 10 after
2427 #if defined(USE_NSS) 2427 #if defined(USE_NSS)
2428 crypto::CryptoModuleBlockingPasswordDelegate* 2428 crypto::CryptoModuleBlockingPasswordDelegate*
2429 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 2429 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
2430 const GURL& url) { 2430 const GURL& url) {
2431 return chrome::NewCryptoModuleBlockingDialogDelegate( 2431 return chrome::NewCryptoModuleBlockingDialogDelegate(
2432 chrome::kCryptoModulePasswordKeygen, url.host()); 2432 chrome::kCryptoModulePasswordKeygen, url.host());
2433 } 2433 }
2434 #endif 2434 #endif
2435 2435
2436 } // namespace chrome 2436 } // namespace chrome
OLDNEW
« no previous file with comments | « chrome/browser/chrome_content_browser_client.h ('k') | chrome/browser/chrome_to_mobile_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698