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

Side by Side Diff: chrome/utility/chrome_content_utility_client.h

Issue 18119009: Make utility process run in-process when running in single-process mode. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: undo unnecessary changes Created 7 years, 5 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
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | content/browser/DEPS » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROME_CONTENT_UTILITY_CLIENT_H_ 5 #ifndef CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 6 #define CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
7 7
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/platform_file.h" 10 #include "base/platform_file.h"
(...skipping 14 matching lines...) Expand all
25 struct PageRange; 25 struct PageRange;
26 } 26 }
27 27
28 namespace chrome { 28 namespace chrome {
29 29
30 class ProfileImportHandler; 30 class ProfileImportHandler;
31 31
32 class ChromeContentUtilityClient : public content::ContentUtilityClient { 32 class ChromeContentUtilityClient : public content::ContentUtilityClient {
33 public: 33 public:
34 ChromeContentUtilityClient(); 34 ChromeContentUtilityClient();
35 ~ChromeContentUtilityClient(); 35 virtual ~ChromeContentUtilityClient();
36 36
37 virtual void UtilityThreadStarted() OVERRIDE; 37 virtual void UtilityThreadStarted() OVERRIDE;
38 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE; 38 virtual bool OnMessageReceived(const IPC::Message& message) OVERRIDE;
39 39
40 private: 40 private:
41 // IPC message handlers. 41 // IPC message handlers.
42 void OnUnpackExtension(const base::FilePath& extension_path, 42 void OnUnpackExtension(const base::FilePath& extension_path,
43 const std::string& extension_id, 43 const std::string& extension_id,
44 int location, int creation_flags); 44 int location, int creation_flags);
45 void OnUnpackWebResource(const std::string& resource_data); 45 void OnUnpackWebResource(const std::string& resource_data);
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 #endif // defined(OS_WIN) || defined(OS_MACOSX) 90 #endif // defined(OS_WIN) || defined(OS_MACOSX)
91 91
92 scoped_ptr<ProfileImportHandler> import_handler_; 92 scoped_ptr<ProfileImportHandler> import_handler_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient); 94 DISALLOW_COPY_AND_ASSIGN(ChromeContentUtilityClient);
95 }; 95 };
96 96
97 } // namespace chrome 97 } // namespace chrome
98 98
99 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_ 99 #endif // CHROME_UTILITY_CHROME_CONTENT_UTILITY_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/test/base/chrome_test_suite.cc ('k') | content/browser/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698