Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1043)

Unified Diff: content/plugin/plugin_main_mac.mm

Issue 11231016: Move content's a plugin, ppapi_plugin, utility, and worker subdirectories to the content namespace. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix mac Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/plugin/plugin_main_linux.cc ('k') | content/plugin/plugin_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/plugin/plugin_main_mac.mm
===================================================================
--- content/plugin/plugin_main_mac.mm (revision 163080)
+++ content/plugin/plugin_main_mac.mm (working copy)
@@ -11,6 +11,8 @@
#include "content/plugin/plugin_interpose_util_mac.h"
#include "content/public/common/content_client.h"
+namespace content {
+
#if !defined(__LP64__)
void TrimInterposeEnvironment() {
scoped_ptr<base::Environment> env(base::Environment::Create());
@@ -28,7 +30,7 @@
// 1) The whole string is "<kInterposeLibraryPath>", so just clear it, or
// 2) ":<kInterposeLibraryPath>" is the end of the string, so trim and re-set.
std::string interpose_library_path =
- content::GetContentClient()->GetCarbonInterposePath();
+ GetContentClient()->GetCarbonInterposePath();
DCHECK_GE(interpose_list.size(), interpose_library_path.size());
size_t suffix_offset = interpose_list.size() - interpose_library_path.size();
if (suffix_offset == 0 &&
@@ -49,3 +51,5 @@
[NSApplication sharedApplication];
mac_plugin_interposing::SetUpCocoaInterposing();
}
+
+} // namespace content
« no previous file with comments | « content/plugin/plugin_main_linux.cc ('k') | content/plugin/plugin_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698