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

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: grt comment #17 (pass StringPiece16 by value) Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/app/main_dll_loader_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 83%
rename from chrome/app/client_util.h
rename to chrome/app/main_dll_loader_win.h
index de09a667af9d669ef14096856c4d96b9f2d2d548..99852ff3e6c4c6e7d2e89d4a2ef2de90ca14b66b 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 <windows.h> // NOLINT
#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_
« no previous file with comments | « chrome/app/client_util.cc ('k') | chrome/app/main_dll_loader_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698