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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 class Widget; | 44 class Widget; |
45 } | 45 } |
46 | 46 |
47 namespace IPC { | 47 namespace IPC { |
48 class Message; | 48 class Message; |
49 } | 49 } |
50 | 50 |
51 //--------------------------------------------------------------------------- | 51 //--------------------------------------------------------------------------- |
52 // These stubs are for Browser_main() | 52 // These stubs are for Browser_main() |
53 | 53 |
54 #if defined(OS_LINUX) | |
55 class GoogleUpdateSettings { | |
56 public: | |
57 static bool GetCollectStatsConsent() { | |
58 NOTIMPLEMENTED(); | |
59 return false; | |
60 } | |
61 static bool SetCollectStatsConsent(bool consented) { | |
62 NOTIMPLEMENTED(); | |
63 return false; | |
64 } | |
65 static bool GetBrowser(std::wstring* browser) { | |
66 NOTIMPLEMENTED(); | |
67 return false; | |
68 } | |
69 static bool GetLanguage(std::wstring* language) { | |
70 NOTIMPLEMENTED(); | |
71 return false; | |
72 } | |
73 static bool GetBrand(std::wstring* brand) { | |
74 NOTIMPLEMENTED(); | |
75 return false; | |
76 } | |
77 static bool GetReferral(std::wstring* referral) { | |
78 NOTIMPLEMENTED(); | |
79 return false; | |
80 } | |
81 static bool ClearReferral() { | |
82 NOTIMPLEMENTED(); | |
83 return false; | |
84 } | |
85 private: | |
86 DISALLOW_IMPLICIT_CONSTRUCTORS(GoogleUpdateSettings); | |
87 }; | |
88 #endif // OS_LINUX | |
89 | |
90 void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton); | 54 void OpenFirstRunDialog(Profile* profile, ProcessSingleton* process_singleton); |
91 | 55 |
92 void InstallJankometer(const CommandLine&); | 56 void InstallJankometer(const CommandLine&); |
93 | 57 |
94 //--------------------------------------------------------------------------- | 58 //--------------------------------------------------------------------------- |
95 // These stubs are for BrowserProcessImpl | 59 // These stubs are for BrowserProcessImpl |
96 | 60 |
97 class CancelableTask; | 61 class CancelableTask; |
98 class ViewMsg_Print_Params; | 62 class ViewMsg_Print_Params; |
99 | 63 |
(...skipping 377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 void SchedulePaint() { NOTIMPLEMENTED(); } | 441 void SchedulePaint() { NOTIMPLEMENTED(); } |
478 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } | 442 HWNDView* GetParent() const { NOTIMPLEMENTED(); return NULL; } |
479 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } | 443 virtual gfx::Size GetPreferredSize() { NOTIMPLEMENTED(); return gfx::Size(); } |
480 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } | 444 gfx::NativeWindow GetHWND() { NOTIMPLEMENTED(); return 0; } |
481 void Detach() { NOTIMPLEMENTED(); } | 445 void Detach() { NOTIMPLEMENTED(); } |
482 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } | 446 gfx::Widget* GetWidget() { NOTIMPLEMENTED(); return NULL; } |
483 }; | 447 }; |
484 } // namespace views | 448 } // namespace views |
485 | 449 |
486 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ | 450 #endif // CHROME_COMMON_TEMP_SCAFFOLDING_STUBS_H_ |
OLD | NEW |