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

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: Comment addressed. 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 #endif 500 #endif
501 501
502 permissions_policy_delegate_.reset( 502 permissions_policy_delegate_.reset(
503 new extensions::BrowserPermissionsPolicyDelegate()); 503 new extensions::BrowserPermissionsPolicyDelegate());
504 } 504 }
505 505
506 ChromeContentBrowserClient::~ChromeContentBrowserClient() { 506 ChromeContentBrowserClient::~ChromeContentBrowserClient() {
507 } 507 }
508 508
509 // static 509 // static
510 void ChromeContentBrowserClient::RegisterUserPrefs( 510 void ChromeContentBrowserClient::RegisterProfilePrefs(
511 user_prefs::PrefRegistrySyncable* registry) { 511 user_prefs::PrefRegistrySyncable* registry) {
512 registry->RegisterBooleanPref( 512 registry->RegisterBooleanPref(
513 prefs::kDisable3DAPIs, 513 prefs::kDisable3DAPIs,
514 false, 514 false,
515 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 515 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
516 registry->RegisterBooleanPref( 516 registry->RegisterBooleanPref(
517 prefs::kEnableHyperlinkAuditing, 517 prefs::kEnableHyperlinkAuditing,
518 true, 518 true,
519 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF); 519 user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
520 registry->RegisterBooleanPref( 520 registry->RegisterBooleanPref(
(...skipping 1899 matching lines...) Expand 10 before | Expand all | Expand 10 after
2420 #if defined(USE_NSS) 2420 #if defined(USE_NSS)
2421 crypto::CryptoModuleBlockingPasswordDelegate* 2421 crypto::CryptoModuleBlockingPasswordDelegate*
2422 ChromeContentBrowserClient::GetCryptoPasswordDelegate( 2422 ChromeContentBrowserClient::GetCryptoPasswordDelegate(
2423 const GURL& url) { 2423 const GURL& url) {
2424 return chrome::NewCryptoModuleBlockingDialogDelegate( 2424 return chrome::NewCryptoModuleBlockingDialogDelegate(
2425 chrome::kCryptoModulePasswordKeygen, url.host()); 2425 chrome::kCryptoModulePasswordKeygen, url.host());
2426 } 2426 }
2427 #endif 2427 #endif
2428 2428
2429 } // namespace chrome 2429 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698