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

Side by Side Diff: chrome/app/client_util.h

Issue 6549027: Merge 74514 - Use a struct instead of a union for SandboxInterfaceInfo... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/648/src/
Patch Set: Created 9 years, 10 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
« no previous file with comments | « no previous file | chrome/common/sandbox_init_wrapper_win.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-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 // This file defines utility functions that can report details about the 5 // This file defines utility functions that can report details about the
6 // host operating environment. 6 // host operating environment.
7 7
8 #ifndef CHROME_APP_CLIENT_UTIL_H_ 8 #ifndef CHROME_APP_CLIENT_UTIL_H_
9 #define CHROME_APP_CLIENT_UTIL_H_ 9 #define CHROME_APP_CLIENT_UTIL_H_
10 #pragma once 10 #pragma once
11 11
12 #include <windows.h> 12 #include <windows.h>
13 #include <string> 13 #include <string>
14 14
15 namespace sandbox { 15 namespace sandbox {
16 union SandboxInterfaceInfo; 16 struct SandboxInterfaceInfo;
17 } 17 }
18 18
19 // Implements the common aspects of loading chrome.dll for both chrome and 19 // Implements the common aspects of loading chrome.dll for both chrome and
20 // chromium scenarios, which are in charge of implementing two abstract 20 // chromium scenarios, which are in charge of implementing two abstract
21 // methods: GetRegistryPath() and OnBeforeLaunch(). 21 // methods: GetRegistryPath() and OnBeforeLaunch().
22 class MainDllLoader { 22 class MainDllLoader {
23 public: 23 public:
24 MainDllLoader(); 24 MainDllLoader();
25 virtual ~MainDllLoader(); 25 virtual ~MainDllLoader();
26 26
(...skipping 26 matching lines...) Expand all
53 private: 53 private:
54 // Chrome.dll handle. 54 // Chrome.dll handle.
55 HMODULE dll_; 55 HMODULE dll_;
56 }; 56 };
57 57
58 // Factory for the MainDllLoader. Caller owns the pointer and should call 58 // Factory for the MainDllLoader. Caller owns the pointer and should call
59 // delete to free it. 59 // delete to free it.
60 MainDllLoader* MakeMainDllLoader(); 60 MainDllLoader* MakeMainDllLoader();
61 61
62 #endif // CHROME_APP_CLIENT_UTIL_H_ 62 #endif // CHROME_APP_CLIENT_UTIL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/common/sandbox_init_wrapper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698