OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_H_ | 5 #ifndef COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_H_ |
6 #define COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_H_ | 6 #define COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
8 #include "content/public/browser/web_contents_observer.h" | 10 #include "content/public/browser/web_contents_observer.h" |
9 | 11 |
10 #if defined(OS_ANDROID) | 12 #if defined(OS_ANDROID) |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/file_descriptor_posix.h" | 14 #include "base/file_descriptor_posix.h" |
13 #endif | 15 #endif |
14 | 16 |
15 namespace printing { | 17 namespace printing { |
16 | 18 |
17 class PrintManager : public content::WebContentsObserver { | 19 class PrintManager : public content::WebContentsObserver { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 61 |
60 private: | 62 private: |
61 void OnDidGetDocumentCookie(int cookie); | 63 void OnDidGetDocumentCookie(int cookie); |
62 | 64 |
63 DISALLOW_COPY_AND_ASSIGN(PrintManager); | 65 DISALLOW_COPY_AND_ASSIGN(PrintManager); |
64 }; | 66 }; |
65 | 67 |
66 } // namespace printing | 68 } // namespace printing |
67 | 69 |
68 #endif // COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_H_ | 70 #endif // COMPONENTS_PRINTING_BROWSER_PRINT_MANAGER_H_ |
OLD | NEW |