OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROME_CONTENT_CLIENT_H_ | 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 virtual std::string GetProduct() const OVERRIDE; | 32 virtual std::string GetProduct() const OVERRIDE; |
33 virtual std::string GetUserAgent() const OVERRIDE; | 33 virtual std::string GetUserAgent() const OVERRIDE; |
34 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; | 34 virtual string16 GetLocalizedString(int message_id) const OVERRIDE; |
35 virtual base::StringPiece GetDataResource( | 35 virtual base::StringPiece GetDataResource( |
36 int resource_id, | 36 int resource_id, |
37 ui::ScaleFactor scale_factor) const OVERRIDE; | 37 ui::ScaleFactor scale_factor) const OVERRIDE; |
38 virtual base::RefCountedStaticMemory* GetDataResourceBytes( | 38 virtual base::RefCountedStaticMemory* GetDataResourceBytes( |
39 int resource_id) const OVERRIDE; | 39 int resource_id) const OVERRIDE; |
40 virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; | 40 virtual gfx::Image& GetNativeImageNamed(int resource_id) const OVERRIDE; |
41 | 41 |
42 #if defined(OS_MACOSX) && !defined(OS_IOS) | 42 #if defined(OS_WIN) |
| 43 virtual void AddPolicy(CommandLine* command_line, |
| 44 sandbox::TargetPolicy* policy) OVERRIDE; |
| 45 #elif defined(OS_MACOSX) && !defined(OS_IOS) |
43 virtual bool GetSandboxProfileForSandboxType( | 46 virtual bool GetSandboxProfileForSandboxType( |
44 int sandbox_type, | 47 int sandbox_type, |
45 int* sandbox_profile_resource_id) const OVERRIDE; | 48 int* sandbox_profile_resource_id) const OVERRIDE; |
46 virtual std::string GetCarbonInterposePath() const OVERRIDE; | 49 virtual std::string GetCarbonInterposePath() const OVERRIDE; |
47 #endif | 50 #endif |
48 }; | 51 }; |
49 | 52 |
50 } // namespace chrome | 53 } // namespace chrome |
51 | 54 |
52 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 55 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
OLD | NEW |