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

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

Issue 552703002: Fix compilation on Windows with enable_printing=2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Mon Sep 8 17:26:04 PDT 2014 Created 6 years, 3 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
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 248 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 unsigned int TestingBrowserProcess::ReleaseModule() { 259 unsigned int TestingBrowserProcess::ReleaseModule() {
260 DCHECK_GT(module_ref_count_, 0U); 260 DCHECK_GT(module_ref_count_, 0U);
261 return --module_ref_count_; 261 return --module_ref_count_;
262 } 262 }
263 263
264 bool TestingBrowserProcess::IsShuttingDown() { 264 bool TestingBrowserProcess::IsShuttingDown() {
265 return false; 265 return false;
266 } 266 }
267 267
268 printing::PrintJobManager* TestingBrowserProcess::print_job_manager() { 268 printing::PrintJobManager* TestingBrowserProcess::print_job_manager() {
269 #if defined(ENABLE_FULL_PRINTING) 269 #if defined(ENABLE_PRINTING)
270 if (!print_job_manager_.get()) 270 if (!print_job_manager_.get())
271 print_job_manager_.reset(new printing::PrintJobManager()); 271 print_job_manager_.reset(new printing::PrintJobManager());
272 return print_job_manager_.get(); 272 return print_job_manager_.get();
273 #else 273 #else
274 NOTIMPLEMENTED(); 274 NOTIMPLEMENTED();
275 return NULL; 275 return NULL;
276 #endif 276 #endif
277 } 277 }
278 278
279 printing::PrintPreviewDialogController* 279 printing::PrintPreviewDialogController*
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 438
439 /////////////////////////////////////////////////////////////////////////////// 439 ///////////////////////////////////////////////////////////////////////////////
440 440
441 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() { 441 TestingBrowserProcessInitializer::TestingBrowserProcessInitializer() {
442 TestingBrowserProcess::CreateInstance(); 442 TestingBrowserProcess::CreateInstance();
443 } 443 }
444 444
445 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() { 445 TestingBrowserProcessInitializer::~TestingBrowserProcessInitializer() {
446 TestingBrowserProcess::DeleteInstance(); 446 TestingBrowserProcess::DeleteInstance();
447 } 447 }
OLDNEW
« no previous file with comments | « chrome/test/base/testing_browser_process.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698