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

Unified Diff: chrome/utility/chrome_content_utility_client.h

Issue 2737763002: Convert utility process Safe Browsing ZIP/DMG Analyzer IPC to mojo (Closed)
Patch Set: Add //components/safe_browsing:csd_proto to typemap deps. Created 3 years, 9 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/utility/chrome_content_utility_client.h
diff --git a/chrome/utility/chrome_content_utility_client.h b/chrome/utility/chrome_content_utility_client.h
index 5aa5f0450351a40368bbfb318ecd50561ee72a58..01993c5fcabb5dcc6d5ab6c8c4e583fefb0d27ce 100644
--- a/chrome/utility/chrome_content_utility_client.h
+++ b/chrome/utility/chrome_content_utility_client.h
@@ -5,12 +5,9 @@
#ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
#define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
-#include "base/compiler_specific.h"
#include "base/macros.h"
#include "base/memory/scoped_vector.h"
-#include "build/build_config.h"
#include "content/public/utility/content_utility_client.h"
-#include "ipc/ipc_platform_file.h"
class UtilityMessageHandler;
@@ -30,20 +27,10 @@ class ChromeContentUtilityClient : public content::ContentUtilityClient {
private:
// IPC message handlers.
- void OnStartupPing();
-#if defined(FULL_SAFE_BROWSING)
- void OnAnalyzeZipFileForDownloadProtection(
- const IPC::PlatformFileForTransit& zip_file,
- const IPC::PlatformFileForTransit& temp_file);
-#if defined(OS_MACOSX)
- void OnAnalyzeDmgFileForDownloadProtection(
- const IPC::PlatformFileForTransit& dmg_file);
-#endif // defined(OS_MACOSX)
-#endif // defined(FULL_SAFE_BROWSING)
-
typedef ScopedVector<UtilityMessageHandler> Handlers;
Handlers handlers_;
+ // True if the utility process runs with elevated privileges.
bool utility_process_running_elevated_;
DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);

Powered by Google App Engine
This is Rietveld 408576698