Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 #ifndef CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
| 6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
| 7 | 7 |
| 8 #include <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| 11 #include <string> | 11 #include <string> |
| 12 | 12 |
| 13 #include "base/macros.h" | 13 #include "base/macros.h" |
| 14 #include "build/build_config.h" | 14 #include "build/build_config.h" |
| 15 #include "components/prefs/pref_member.h" | 15 #include "components/prefs/pref_member.h" |
| 16 #include "content/public/browser/browser_message_filter.h" | 16 #include "content/public/browser/browser_message_filter.h" |
| 17 #include "printing/features/features.h" | 17 #include "printing/features/features.h" |
| 18 | 18 |
| 19 #if defined(OS_CHROMEOS) || defined(OS_ANDROID) | |
|
sky
2016/11/09 16:25:25
How come you need OS_CHROMEOS here? AFAICT it's on
Sam McNally
2016/11/09 20:54:58
Done.
| |
| 20 #include "base/file_descriptor_posix.h" | |
| 21 #endif | |
| 22 | |
| 19 struct PrintHostMsg_ScriptedPrint_Params; | 23 struct PrintHostMsg_ScriptedPrint_Params; |
| 20 class Profile; | 24 class Profile; |
| 21 | 25 |
| 22 namespace base { | 26 namespace base { |
| 23 class DictionaryValue; | 27 class DictionaryValue; |
| 24 } | 28 } |
| 25 | 29 |
| 26 namespace printing { | 30 namespace printing { |
| 27 | 31 |
| 28 class PrintQueriesQueue; | 32 class PrintQueriesQueue; |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 93 const int render_process_id_; | 97 const int render_process_id_; |
| 94 | 98 |
| 95 scoped_refptr<PrintQueriesQueue> queue_; | 99 scoped_refptr<PrintQueriesQueue> queue_; |
| 96 | 100 |
| 97 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); | 101 DISALLOW_COPY_AND_ASSIGN(PrintingMessageFilter); |
| 98 }; | 102 }; |
| 99 | 103 |
| 100 } // namespace printing | 104 } // namespace printing |
| 101 | 105 |
| 102 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ | 106 #endif // CHROME_BROWSER_PRINTING_PRINTING_MESSAGE_FILTER_H_ |
| OLD | NEW |