| OLD | NEW |
| 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 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_DATA_SOURCE_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_DATA_SOURCE_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_DATA_SOURCE_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_DATA_SOURCE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| 11 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
| 12 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" | 12 #include "chrome/browser/ui/webui/chrome_url_data_manager.h" |
| 13 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" | 13 #include "chrome/browser/ui/webui/chrome_web_ui_data_source.h" |
| 14 | 14 |
| 15 // PrintPreviewDataSource serves data for chrome://print requests. | 15 // PrintPreviewDataSource serves data for chrome://print requests. |
| 16 // | 16 // |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 virtual void StartDataRequest(const std::string& path, | 36 virtual void StartDataRequest(const std::string& path, |
| 37 bool is_incognito, | 37 bool is_incognito, |
| 38 int request_id) OVERRIDE; | 38 int request_id) OVERRIDE; |
| 39 private: | 39 private: |
| 40 virtual ~PrintPreviewDataSource(); | 40 virtual ~PrintPreviewDataSource(); |
| 41 void Init(bool is_dummy); | 41 void Init(bool is_dummy); |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(PrintPreviewDataSource); | 43 DISALLOW_COPY_AND_ASSIGN(PrintPreviewDataSource); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_DATA_SOURCE_H_ | 46 #endif // CHROME_BROWSER_UI_WEBUI_PRINT_PREVIEW_PRINT_PREVIEW_DATA_SOURCE_H_ |
| OLD | NEW |