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

Side by Side Diff: chrome/utility/extensions/extensions_handler.h

Issue 464613002: Move SafeManifestParser to //extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 5 #ifndef CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
6 #define CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 6 #define CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
7 7
8 #include "base/base64.h" 8 #include "base/base64.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/json/json_reader.h" 10 #include "base/json/json_reader.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "chrome/common/media_galleries/picasa_types.h" 12 #include "chrome/common/media_galleries/picasa_types.h"
13 #include "chrome/utility/utility_message_handler.h" 13 #include "chrome/utility/utility_message_handler.h"
14 14
15 #if !defined(ENABLE_EXTENSIONS) 15 #if !defined(ENABLE_EXTENSIONS)
16 #error "Extensions must be enabled" 16 #error "Extensions must be enabled"
17 #endif 17 #endif
18 18
19 namespace metadata { 19 namespace metadata {
20 class MediaMetadataParser; 20 class MediaMetadataParser;
21 } 21 }
22 22
23 namespace extensions { 23 namespace extensions {
24 24
25 // Dispatches IPCs for printing. 25 // Dispatches IPCs for Chrome extensions utility messages.
26 class ExtensionsHandler : public UtilityMessageHandler { 26 class ExtensionsHandler : public UtilityMessageHandler {
27 public: 27 public:
28 ExtensionsHandler(); 28 ExtensionsHandler();
29 virtual ~ExtensionsHandler(); 29 virtual ~ExtensionsHandler();
30 30
31 static void PreSandboxStartup(); 31 static void PreSandboxStartup();
32 static void UtilityThreadStarted(); 32 static void UtilityThreadStarted();
33 33
34 // IPC::Listener: 34 // IPC::Listener:
35 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 35 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 void OnGetAndEncryptWiFiCredentials(const std::string& network_guid, 71 void OnGetAndEncryptWiFiCredentials(const std::string& network_guid,
72 const std::vector<uint8>& public_key); 72 const std::vector<uint8>& public_key);
73 #endif // defined(OS_WIN) 73 #endif // defined(OS_WIN)
74 74
75 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler); 75 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler);
76 }; 76 };
77 77
78 } // namespace extensions 78 } // namespace extensions
79 79
80 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 80 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698