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

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

Issue 1581473002: Remove base/win/metro.{cc|h} and some associated code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes Created 4 years, 11 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 a class to load the main DLL of a Chrome process. 5 // This file defines a class to load the main DLL of a Chrome process.
6 6
7 #ifndef CHROME_APP_MAIN_DLL_LOADER_WIN_H_ 7 #ifndef CHROME_APP_MAIN_DLL_LOADER_WIN_H_
8 #define CHROME_APP_MAIN_DLL_LOADER_WIN_H_ 8 #define CHROME_APP_MAIN_DLL_LOADER_WIN_H_
9 9
10 #include <windows.h> // NOLINT 10 #include <windows.h> // NOLINT
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 private: 49 private:
50 // Loads chrome.dll, populating |version| with the version of the DLL loaded 50 // Loads chrome.dll, populating |version| with the version of the DLL loaded
51 // and |module| with the path of the loaded DLL. Returns a reference to the 51 // and |module| with the path of the loaded DLL. Returns a reference to the
52 // module, or null on failure. 52 // module, or null on failure.
53 HMODULE Load(base::string16* version, base::FilePath* module); 53 HMODULE Load(base::string16* version, base::FilePath* module);
54 54
55 private: 55 private:
56 HMODULE dll_; 56 HMODULE dll_;
57 std::string process_type_; 57 std::string process_type_;
58 const bool metro_mode_;
59 }; 58 };
60 59
61 // Factory for the MainDllLoader. Caller owns the pointer and should call 60 // Factory for the MainDllLoader. Caller owns the pointer and should call
62 // delete to free it. 61 // delete to free it.
63 MainDllLoader* MakeMainDllLoader(); 62 MainDllLoader* MakeMainDllLoader();
64 63
65 #endif // CHROME_APP_MAIN_DLL_LOADER_WIN_H_ 64 #endif // CHROME_APP_MAIN_DLL_LOADER_WIN_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698