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

Side by Side Diff: chrome/browser/printing/print_job_unittest.cc

Issue 149212: Move printing related stuff to the root printing project from the browser pro... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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) 2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2008 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 "base/message_loop.h" 5 #include "base/message_loop.h"
6 #include "chrome/browser/printing/print_job.h" 6 #include "chrome/browser/printing/print_job.h"
7 #include "chrome/browser/printing/print_job_worker.h" 7 #include "chrome/browser/printing/print_job_worker.h"
8 #include "chrome/browser/printing/printed_pages_source.h"
9 #include "chrome/common/notification_registrar.h" 8 #include "chrome/common/notification_registrar.h"
10 #include "chrome/common/notification_service.h" 9 #include "chrome/common/notification_service.h"
10 #include "printing/printed_pages_source.h"
11 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace { 14 namespace {
15 15
16 class TestSource : public printing::PrintedPagesSource { 16 class TestSource : public printing::PrintedPagesSource {
17 public: 17 public:
18 virtual std::wstring RenderSourceName() { 18 virtual std::wstring RenderSourceName() {
19 return L""; 19 return L"";
20 } 20 }
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 job->is_print_dialog_box_shown(); 137 job->is_print_dialog_box_shown();
138 job->document(); 138 job->document();
139 // Private 139 // Private
140 job->UpdatePrintedDocument(NULL); 140 job->UpdatePrintedDocument(NULL);
141 scoped_refptr<printing::JobEventDetails> event_details; 141 scoped_refptr<printing::JobEventDetails> event_details;
142 job->OnNotifyPrintJobEvent(event_details); 142 job->OnNotifyPrintJobEvent(event_details);
143 job->OnDocumentDone(); 143 job->OnDocumentDone();
144 job->ControlledWorkerShutdown(); 144 job->ControlledWorkerShutdown();
145 */ 145 */
146 } 146 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698