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

Side by Side Diff: content/plugin/plugin_main_mac.mm

Issue 84293002: LOG(INFO) -> VLOG(0) in content/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: whitespace Created 7 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/handle_enumerator_win.cc ('k') | content/public/test/render_widget_test.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/strings/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
20 std::string interpose_list; 20 std::string interpose_list;
21 if (!env->GetVar(kDYLDInsertLibrariesKey, &interpose_list)) { 21 if (!env->GetVar(kDYLDInsertLibrariesKey, &interpose_list)) {
22 LOG(INFO) << "No Carbon Interpose library found."; 22 VLOG(0) << "No Carbon Interpose library found.";
23 return; 23 return;
24 } 24 }
25 25
26 // The list is a :-separated list of paths. Because we append our interpose 26 // The list is a :-separated list of paths. Because we append our interpose
27 // library just before forking in plugin_process_host.cc, the only cases we 27 // library just before forking in plugin_process_host.cc, the only cases we
28 // need to handle are: 28 // need to handle are:
29 // 1) The whole string is "<kInterposeLibraryPath>", so just clear it, or 29 // 1) The whole string is "<kInterposeLibraryPath>", so just clear it, or
30 // 2) ":<kInterposeLibraryPath>" is the end of the string, so trim and re-set. 30 // 2) ":<kInterposeLibraryPath>" is the end of the string, so trim and re-set.
31 std::string interpose_library_path = 31 std::string interpose_library_path =
32 GetContentClient()->GetCarbonInterposePath(); 32 GetContentClient()->GetCarbonInterposePath();
(...skipping 11 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « content/common/handle_enumerator_win.cc ('k') | content/public/test/render_widget_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698