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

Unified Diff: chrome/utility/chrome_content_utility_client.cc

Issue 7231016: Move app/win/* files to base/win/, ui/base/win and chrome/common/ directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: brettw review Created 9 years, 6 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
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/utility/chrome_content_utility_client.cc
diff --git a/chrome/utility/chrome_content_utility_client.cc b/chrome/utility/chrome_content_utility_client.cc
index 10c577d1eb9d19704e66eb984b6f8f9d0694b681..2b0094510a3c5610e1d4b33f5a92b86dfcaac21d 100644
--- a/chrome/utility/chrome_content_utility_client.cc
+++ b/chrome/utility/chrome_content_utility_client.cc
@@ -22,10 +22,10 @@
#include "webkit/glue/image_decoder.h"
#if defined(OS_WIN)
-#include "app/win/iat_patch_function.h"
#include "base/file_util.h"
#include "base/memory/scoped_ptr.h"
#include "base/path_service.h"
+#include "base/win/iat_patch_function.h"
#include "base/win/scoped_handle.h"
#include "content/common/content_switches.h"
#include "content/common/sandbox_init_wrapper.h"
@@ -193,7 +193,7 @@ typedef bool (*GetPDFDocInfoProc)(const unsigned char* pdf_buffer,
// The 2 below IAT patch functions are almost identical to the code in
// render_process_impl.cc. This is needed to work around specific Windows APIs
// used by the Chrome PDF plugin that will fail in the sandbox.
-static app::win::IATPatchFunction g_iat_patch_createdca;
+static base::win::IATPatchFunction g_iat_patch_createdca;
HDC WINAPI UtilityProcess_CreateDCAPatch(LPCSTR driver_name,
LPCSTR device_name,
LPCSTR output,
@@ -207,7 +207,7 @@ HDC WINAPI UtilityProcess_CreateDCAPatch(LPCSTR driver_name,
return CreateDCA(driver_name, device_name, output, init_data);
}
-static app::win::IATPatchFunction g_iat_patch_get_font_data;
+static base::win::IATPatchFunction g_iat_patch_get_font_data;
DWORD WINAPI UtilityProcess_GetFontDataPatch(
HDC hdc, DWORD table, DWORD offset, LPVOID buffer, DWORD length) {
int rv = GetFontData(hdc, table, offset, buffer, length);
« no previous file with comments | « chrome/renderer/chrome_render_process_observer.cc ('k') | chrome_frame/test/net/fake_external_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698