| 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. |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 class Widget; | 43 class Widget; |
| 44 } | 44 } |
| 45 | 45 |
| 46 namespace IPC { | 46 namespace IPC { |
| 47 class Message; | 47 class Message; |
| 48 } | 48 } |
| 49 | 49 |
| 50 //--------------------------------------------------------------------------- | 50 //--------------------------------------------------------------------------- |
| 51 // These stubs are for Browser_main() | 51 // These stubs are for Browser_main() |
| 52 | 52 |
| 53 #if defined(OS_LINUX) |
| 53 class GoogleUpdateSettings { | 54 class GoogleUpdateSettings { |
| 54 public: | 55 public: |
| 55 static bool GetCollectStatsConsent() { | 56 static bool GetCollectStatsConsent() { |
| 56 NOTIMPLEMENTED(); | 57 NOTIMPLEMENTED(); |
| 57 return false; | 58 return false; |
| 58 } | 59 } |
| 59 static bool SetCollectStatsConsent(bool consented) { | 60 static bool SetCollectStatsConsent(bool consented) { |
| 60 NOTIMPLEMENTED(); | 61 NOTIMPLEMENTED(); |
| 61 return false; | 62 return false; |
| 62 } | 63 } |
| (...skipping 13 matching lines...) Expand all Loading... |
| 76 NOTIMPLEMENTED(); | 77 NOTIMPLEMENTED(); |
| 77 return false; | 78 return false; |
| 78 } | 79 } |
| 79 static bool ClearReferral() { | 80 static bool ClearReferral() { |
| 80 NOTIMPLEMENTED(); | 81 NOTIMPLEMENTED(); |
| 81 return false; | 82 return false; |
| 82 } | 83 } |
| 83 private: | 84 private: |
| 84 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); | 85 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); |
| 85 }; | 86 }; |
| 87 #endif // OS_LINUX |
| 86 | 88 |
| 87 void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton); | 89 void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton); |
| 88 | 90 |
| 89 void InstallJankometer(const CommandLine&); | 91 void InstallJankometer(const CommandLine&); |
| 90 | 92 |
| 91 //--------------------------------------------------------------------------- | 93 //--------------------------------------------------------------------------- |
| 92 // These stubs are for BrowserProcessImpl | 94 // These stubs are for BrowserProcessImpl |
| 93 | 95 |
| 94 class CancelableTask; | 96 class CancelableTask; |
| 95 class ViewMsg_Print_Params; | 97 class ViewMsg_Print_Params; |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 505 NOTIMPLEMENTED(); | 507 NOTIMPLEMENTED(); |
| 506 } | 508 } |
| 507 virtual ~HWNDHtmlView() {} | 509 virtual ~HWNDHtmlView() {} |
| 508 | 510 |
| 509 RenderViewHost* render_view_host() { NOTIMPLEMENTED(); return NULL; } | 511 RenderViewHost* render_view_host() { NOTIMPLEMENTED(); return NULL; } |
| 510 SiteInstance* site_instance() { NOTIMPLEMENTED(); return NULL; } | 512 SiteInstance* site_instance() { NOTIMPLEMENTED(); return NULL; } |
| 511 }; | 513 }; |
| 512 | 514 |
| 513 | 515 |
| 514 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 516 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
| OLD | NEW |