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

Unified Diff: chrome/app/main_dll_loader_win.h

Issue 1402353011: Expose a function to get the path to a DLL. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 5 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
Index: chrome/app/main_dll_loader_win.h
diff --git a/chrome/app/client_util.h b/chrome/app/main_dll_loader_win.h
similarity index 84%
rename from chrome/app/client_util.h
rename to chrome/app/main_dll_loader_win.h
index de09a667af9d669ef14096856c4d96b9f2d2d548..4c16509aab2448f5ce114afc0390b6cabcc52af3 100644
--- a/chrome/app/client_util.h
+++ b/chrome/app/main_dll_loader_win.h
@@ -2,24 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// This file defines utility functions that can report details about the
-// host operating environment.
+// This file defines a class to load the main DLL of a Chrome process.
-#ifndef CHROME_APP_CLIENT_UTIL_H_
-#define CHROME_APP_CLIENT_UTIL_H_
+#ifndef CHROME_APP_MAIN_DLL_LOADER_WIN_H_
+#define CHROME_APP_MAIN_DLL_LOADER_WIN_H_
#include <windows.h>
#include <string>
-#include "base/strings/string16.h"
-
-namespace sandbox {
- struct SandboxInterfaceInfo;
-}
-// Returns the version in the current module's version resource or the empty
-// string if none found.
-base::string16 GetCurrentModuleVersion();
+#include "base/files/file_path.h"
+#include "base/strings/string16.h"
// Implements the common aspects of loading the main dll for both chrome and
// chromium scenarios, which are in charge of implementing two abstract
@@ -69,4 +62,4 @@ class MainDllLoader {
// delete to free it.
MainDllLoader* MakeMainDllLoader();
-#endif // CHROME_APP_CLIENT_UTIL_H_
+#endif // CHROME_APP_MAIN_DLL_LOADER_WIN_H_

Powered by Google App Engine
This is Rietveld 408576698