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

Side by Side Diff: chrome/test/base/testing_browser_process.cc

Issue 1226643002: Welcome page changes for Windows 10 and over. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rewording in policy_templates.json and sync to position 338549 Created 5 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
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/test/base/testing_browser_process.h" 5 #include "chrome/test/base/testing_browser_process.h"
6 6
7 #include "base/prefs/pref_service.h" 7 #include "base/prefs/pref_service.h"
8 #include "base/strings/string_util.h" 8 #include "base/strings/string_util.h"
9 #include "base/time/default_tick_clock.h" 9 #include "base/time/default_tick_clock.h"
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after
382 } 382 }
383 383
384 gcm::GCMDriver* TestingBrowserProcess::gcm_driver() { 384 gcm::GCMDriver* TestingBrowserProcess::gcm_driver() {
385 return nullptr; 385 return nullptr;
386 } 386 }
387 387
388 memory::OomPriorityManager* TestingBrowserProcess::GetOomPriorityManager() { 388 memory::OomPriorityManager* TestingBrowserProcess::GetOomPriorityManager() {
389 return nullptr; 389 return nullptr;
390 } 390 }
391 391
392 ShellIntegration::DefaultWebClientState
393 TestingBrowserProcess::CachedDefaultWebClientState() {
394 return ShellIntegration::UNKNOWN_DEFAULT;
395 }
392 void TestingBrowserProcess::SetSystemRequestContext( 396 void TestingBrowserProcess::SetSystemRequestContext(
393 net::URLRequestContextGetter* context_getter) { 397 net::URLRequestContextGetter* context_getter) {
394 system_request_context_ = context_getter; 398 system_request_context_ = context_getter;
395 } 399 }
396 400
397 void TestingBrowserProcess::SetNotificationUIManager( 401 void TestingBrowserProcess::SetNotificationUIManager(
398 scoped_ptr<NotificationUIManager> notification_ui_manager) { 402 scoped_ptr<NotificationUIManager> notification_ui_manager) {
399 notification_ui_manager_.swap(notification_ui_manager); 403 notification_ui_manager_.swap(notification_ui_manager);
400 } 404 }
401 405
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 452
449 /////////////////////////////////////////////////////////////////////////////// 453 ///////////////////////////////////////////////////////////////////////////////
450 454
451 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 455 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
452 TestingBrowserProcess::CreateInstance(); 456 TestingBrowserProcess::CreateInstance();
453 } 457 }
454 458
455 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 459 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
456 TestingBrowserProcess::DeleteInstance(); 460 TestingBrowserProcess::DeleteInstance();
457 } 461 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | chrome/test/data/policy/policy_test_cases.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698