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

Side by Side Diff: chrome/browser/nacl_host/nacl_process_host.h

Issue 6610029: Create a "GetWOW64Status()" utility function and make the rest of the codebas... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 5 #ifndef CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 6 #define CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "build/build_config.h" 9 #include "build/build_config.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 struct NaClInternal; 47 struct NaClInternal;
48 48
49 bool LaunchSelLdr(); 49 bool LaunchSelLdr();
50 50
51 void SendStartMessage(); 51 void SendStartMessage();
52 52
53 virtual void OnProcessLaunched(); 53 virtual void OnProcessLaunched();
54 54
55 virtual bool CanShutdown(); 55 virtual bool CanShutdown();
56 56
57 #if defined(OS_WIN)
58 // Check whether the browser process is running on WOW64 - Windows only
59 void CheckIsWow64();
60 #endif
61
62 private: 57 private:
63 ResourceDispatcherHost* resource_dispatcher_host_; 58 ResourceDispatcherHost* resource_dispatcher_host_;
64 59
65 // The RenderMessageFilter that requested this NaCl process. We use this 60 // The RenderMessageFilter that requested this NaCl process. We use this
66 // for sending the reply once the process has started. 61 // for sending the reply once the process has started.
67 scoped_refptr<RenderMessageFilter> render_message_filter_; 62 scoped_refptr<RenderMessageFilter> render_message_filter_;
68 63
69 // The reply message to send. 64 // The reply message to send.
70 IPC::Message* reply_msg_; 65 IPC::Message* reply_msg_;
71 66
72 // Socket pairs for the NaCl process and renderer. 67 // Socket pairs for the NaCl process and renderer.
73 scoped_ptr<NaClInternal> internal_; 68 scoped_ptr<NaClInternal> internal_;
74 69
75 // Windows platform flag 70 // Windows platform flag
76 bool running_on_wow64_; 71 bool running_on_wow64_;
77 72
78 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost); 73 DISALLOW_COPY_AND_ASSIGN(NaClProcessHost);
79 }; 74 };
80 75
81 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_ 76 #endif // CHROME_BROWSER_NACL_HOST_NACL_PROCESS_HOST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698