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

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

Issue 7327007: Moving notification types which are chrome specific to a new header file chrome_notification_type... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 "base/string16.h" 6 #include "base/string16.h"
7 #include "chrome/browser/printing/print_job.h" 7 #include "chrome/browser/printing/print_job.h"
8 #include "chrome/browser/printing/print_job_worker.h" 8 #include "chrome/browser/printing/print_job_worker.h"
9 #include "chrome/common/chrome_notification_types.h"
9 #include "content/common/notification_registrar.h" 10 #include "content/common/notification_registrar.h"
10 #include "content/common/notification_service.h" 11 #include "content/common/notification_service.h"
11 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
12 #include "printing/printed_pages_source.h" 13 #include "printing/printed_pages_source.h"
13 #include "testing/gtest/include/gtest/gtest.h" 14 #include "testing/gtest/include/gtest/gtest.h"
14 15
15 namespace { 16 namespace {
16 17
17 class TestSource : public printing::PrintedPagesSource { 18 class TestSource : public printing::PrintedPagesSource {
18 public: 19 public:
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 job->is_job_pending(); 132 job->is_job_pending();
132 job->document(); 133 job->document();
133 // Private 134 // Private
134 job->UpdatePrintedDocument(NULL); 135 job->UpdatePrintedDocument(NULL);
135 scoped_refptr<printing::JobEventDetails> event_details; 136 scoped_refptr<printing::JobEventDetails> event_details;
136 job->OnNotifyPrintJobEvent(event_details); 137 job->OnNotifyPrintJobEvent(event_details);
137 job->OnDocumentDone(); 138 job->OnDocumentDone();
138 job->ControlledWorkerShutdown(); 139 job->ControlledWorkerShutdown();
139 */ 140 */
140 } 141 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698