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

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

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years 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
« no previous file with comments | « chrome/test/nacl/pnacl_header_test.h ('k') | chrome/utility/image_writer/disk_unmounter_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/base64.h" 10 #include "base/base64.h"
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 #include "build/build_config.h" 13 #include "build/build_config.h"
14 #include "chrome/common/media_galleries/picasa_types.h" 14 #include "chrome/common/media_galleries/picasa_types.h"
15 #include "chrome/utility/utility_message_handler.h" 15 #include "chrome/utility/utility_message_handler.h"
16 #include "extensions/features/features.h" 16 #include "extensions/features/features.h"
17 #include "extensions/utility/utility_handler.h" 17 #include "extensions/utility/utility_handler.h"
18 18
19 #if !BUILDFLAG(ENABLE_EXTENSIONS) 19 #if !BUILDFLAG(ENABLE_EXTENSIONS)
20 #error "Extensions must be enabled" 20 #error "Extensions must be enabled"
21 #endif 21 #endif
22 22
23 class ChromeContentUtilityClient; 23 class ChromeContentUtilityClient;
24 24
25 namespace metadata {
26 class MediaMetadataParser;
27 }
28
29 namespace extensions { 25 namespace extensions {
30 26
31 // Dispatches IPCs for Chrome extensions utility messages. 27 // Dispatches IPCs for Chrome extensions utility messages.
32 class ExtensionsHandler : public UtilityMessageHandler { 28 class ExtensionsHandler : public UtilityMessageHandler {
33 public: 29 public:
34 explicit ExtensionsHandler(ChromeContentUtilityClient* utility_client); 30 explicit ExtensionsHandler(ChromeContentUtilityClient* utility_client);
35 ~ExtensionsHandler() override; 31 ~ExtensionsHandler() override;
36 32
37 static void PreSandboxStartup(); 33 static void PreSandboxStartup();
38 34
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 68
73 // The client that owns this. 69 // The client that owns this.
74 ChromeContentUtilityClient* const utility_client_; 70 ChromeContentUtilityClient* const utility_client_;
75 71
76 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler); 72 DISALLOW_COPY_AND_ASSIGN(ExtensionsHandler);
77 }; 73 };
78 74
79 } // namespace extensions 75 } // namespace extensions
80 76
81 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_ 77 #endif // CHROME_UTILITY_EXTENSIONS_EXTENSIONS_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/test/nacl/pnacl_header_test.h ('k') | chrome/utility/image_writer/disk_unmounter_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698