OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 "printing/printing_context.h" | 5 #include "printing/printing_context.h" |
6 | 6 |
7 #include "base/logging.h" | 7 #include "base/logging.h" |
8 | 8 |
9 namespace printing { | 9 namespace printing { |
10 | 10 |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 void PrintingContext::DismissDialog() { | 108 void PrintingContext::DismissDialog() { |
109 NOTIMPLEMENTED(); | 109 NOTIMPLEMENTED(); |
110 } | 110 } |
111 | 111 |
112 PrintingContext::Result PrintingContext::OnError() { | 112 PrintingContext::Result PrintingContext::OnError() { |
113 ResetSettings(); | 113 ResetSettings(); |
114 return abort_printing_ ? CANCEL : FAILED; | 114 return abort_printing_ ? CANCEL : FAILED; |
115 } | 115 } |
116 | 116 |
117 } // namespace printing | 117 } // namespace printing |
OLD | NEW |