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 #import <AppKit/AppKit.h> | 5 #import <AppKit/AppKit.h> |
6 | 6 |
7 #include "base/environment.h" | 7 #include "base/environment.h" |
8 #include "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
9 #include "base/string_util.h" | 9 #include "base/strings/string_util.h" |
10 #include "content/common/plugin_carbon_interpose_constants_mac.h" | 10 #include "content/common/plugin_carbon_interpose_constants_mac.h" |
11 #include "content/plugin/plugin_interpose_util_mac.h" | 11 #include "content/plugin/plugin_interpose_util_mac.h" |
12 #include "content/public/common/content_client.h" | 12 #include "content/public/common/content_client.h" |
13 | 13 |
14 namespace content { | 14 namespace content { |
15 | 15 |
16 #if !defined(__LP64__) | 16 #if !defined(__LP64__) |
17 void TrimInterposeEnvironment() { | 17 void TrimInterposeEnvironment() { |
18 scoped_ptr<base::Environment> env(base::Environment::Create()); | 18 scoped_ptr<base::Environment> env(base::Environment::Create()); |
19 | 19 |
(...skipping 24 matching lines...) Expand all Loading... |
44 } | 44 } |
45 } | 45 } |
46 #endif | 46 #endif |
47 | 47 |
48 void InitializeChromeApplication() { | 48 void InitializeChromeApplication() { |
49 [NSApplication sharedApplication]; | 49 [NSApplication sharedApplication]; |
50 mac_plugin_interposing::SetUpCocoaInterposing(); | 50 mac_plugin_interposing::SetUpCocoaInterposing(); |
51 } | 51 } |
52 | 52 |
53 } // namespace content | 53 } // namespace content |
OLD | NEW |