| 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 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 5 #ifndef CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 6 #define CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| 7 | 7 |
| 8 // This file provides declarations and stub definitions for classes we encouter | 8 // This file provides declarations and stub definitions for classes we encouter |
| 9 // during the porting effort. It is not meant to be permanent, and classes will | 9 // during the porting effort. It is not meant to be permanent, and classes will |
| 10 // be removed from here as they are fleshed out more completely. | 10 // be removed from here as they are fleshed out more completely. |
| 11 | 11 |
| 12 #include <list> | 12 #include <list> |
| 13 #include <string> | 13 #include <string> |
| 14 | 14 |
| 15 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
| 16 #include "base/clipboard.h" | 16 #include "base/clipboard.h" |
| 17 #include "base/file_path.h" | 17 #include "base/file_path.h" |
| 18 #include "base/logging.h" | 18 #include "base/logging.h" |
| 19 #include "base/message_loop.h" | 19 #include "base/message_loop.h" |
| 20 #include "base/ref_counted.h" | 20 #include "base/ref_counted.h" |
| 21 #include "base/string16.h" |
| 21 #include "base/gfx/native_widget_types.h" | 22 #include "base/gfx/native_widget_types.h" |
| 22 #include "base/gfx/rect.h" | 23 #include "base/gfx/rect.h" |
| 23 #include "chrome/browser/bookmarks/bookmark_model.h" | 24 #include "chrome/browser/bookmarks/bookmark_model.h" |
| 24 #include "chrome/browser/browser_process.h" | 25 #include "chrome/browser/browser_process.h" |
| 25 #include "chrome/browser/cache_manager_host.h" | 26 #include "chrome/browser/cache_manager_host.h" |
| 26 #include "chrome/browser/cancelable_request.h" | 27 #include "chrome/browser/cancelable_request.h" |
| 27 #include "chrome/browser/download/save_types.h" | 28 #include "chrome/browser/download/save_types.h" |
| 28 #include "chrome/browser/history/download_types.h" | 29 #include "chrome/browser/history/download_types.h" |
| 29 #include "chrome/browser/history/history.h" | 30 #include "chrome/browser/history/history.h" |
| 30 #include "chrome/browser/renderer_host/resource_handler.h" | 31 #include "chrome/browser/renderer_host/resource_handler.h" |
| (...skipping 542 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 573 void ScheduleDownload(const std::wstring&, const GURL&, const GURL&, | 574 void ScheduleDownload(const std::wstring&, const GURL&, const GURL&, |
| 574 const gfx::NativeView, bool) { NOTIMPLEMENTED(); } | 575 const gfx::NativeView, bool) { NOTIMPLEMENTED(); } |
| 575 }; | 576 }; |
| 576 | 577 |
| 577 namespace base { | 578 namespace base { |
| 578 class SharedMemory; | 579 class SharedMemory; |
| 579 } | 580 } |
| 580 | 581 |
| 581 class Encryptor { | 582 class Encryptor { |
| 582 public: | 583 public: |
| 583 static bool EncryptWideString(const std::wstring& plaintext, | 584 static bool EncryptString16(const string16& plaintext, |
| 584 std::string* ciphertext) { | 585 std::string* ciphertext) { |
| 585 NOTIMPLEMENTED(); | 586 NOTIMPLEMENTED(); |
| 586 return false; | 587 return false; |
| 587 } | 588 } |
| 588 | 589 |
| 589 static bool DecryptWideString(const std::string& ciphertext, | 590 static bool DecryptString16(const std::string& ciphertext, |
| 590 std::wstring* plaintext) { | 591 string16* plaintext) { |
| 591 NOTIMPLEMENTED(); | 592 NOTIMPLEMENTED(); |
| 592 return false; | 593 return false; |
| 593 } | 594 } |
| 594 }; | 595 }; |
| 595 | 596 |
| 596 class WebAppLauncher { | 597 class WebAppLauncher { |
| 597 public: | 598 public: |
| 598 static void Launch(Profile* profile, const GURL& url) { | 599 static void Launch(Profile* profile, const GURL& url) { |
| 599 NOTIMPLEMENTED(); | 600 NOTIMPLEMENTED(); |
| 600 } | 601 } |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 bool allow_dom_ui_bindings) { | 783 bool allow_dom_ui_bindings) { |
| 783 NOTIMPLEMENTED(); | 784 NOTIMPLEMENTED(); |
| 784 } | 785 } |
| 785 virtual ~HWNDHtmlView() {} | 786 virtual ~HWNDHtmlView() {} |
| 786 | 787 |
| 787 RenderViewHost* render_view_host() { NOTIMPLEMENTED(); return NULL; } | 788 RenderViewHost* render_view_host() { NOTIMPLEMENTED(); return NULL; } |
| 788 void InitHidden() { NOTIMPLEMENTED(); } | 789 void InitHidden() { NOTIMPLEMENTED(); } |
| 789 }; | 790 }; |
| 790 | 791 |
| 791 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 792 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |