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

Side by Side Diff: services/navigation/content_client/content_browser_client.h

Issue 2398783002: Rename a bunch of Mojo Application stuff to reference Services. (Closed)
Patch Set: . Created 4 years, 2 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 SERVICES_NAVIGATION_CONTENT_CLIENT_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef SERVICES_NAVIGATION_CONTENT_CLIENT_CONTENT_BROWSER_CLIENT_H_
6 #define SERVICES_NAVIGATION_CONTENT_CLIENT_CONTENT_BROWSER_CLIENT_H_ 6 #define SERVICES_NAVIGATION_CONTENT_CLIENT_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "content/public/browser/content_browser_client.h" 12 #include "content/public/browser/content_browser_client.h"
13 13
14 namespace navigation { 14 namespace navigation {
15 15
16 class BrowserMainParts; 16 class BrowserMainParts;
17 17
18 class ContentBrowserClient : public content::ContentBrowserClient { 18 class ContentBrowserClient : public content::ContentBrowserClient {
19 public: 19 public:
20 ContentBrowserClient(); 20 ContentBrowserClient();
21 ~ContentBrowserClient() override; 21 ~ContentBrowserClient() override;
22 22
23 // Overridden from content::ContentBrowserClient: 23 // Overridden from content::ContentBrowserClient:
24 content::BrowserMainParts* CreateBrowserMainParts( 24 content::BrowserMainParts* CreateBrowserMainParts(
25 const content::MainFunctionParams& parameters) override; 25 const content::MainFunctionParams& parameters) override;
26 std::string GetShellUserIdForBrowserContext( 26 std::string GetServiceUserIdForBrowserContext(
27 content::BrowserContext* browser_context) override; 27 content::BrowserContext* browser_context) override;
28 void RegisterInProcessMojoApplications( 28 void RegisterInProcessServices(StaticServiceMap* services) override;
29 StaticMojoApplicationMap* apps) override;
30 29
31 private: 30 private:
32 BrowserMainParts* browser_main_parts_ = nullptr; 31 BrowserMainParts* browser_main_parts_ = nullptr;
33 32
34 DISALLOW_COPY_AND_ASSIGN(ContentBrowserClient); 33 DISALLOW_COPY_AND_ASSIGN(ContentBrowserClient);
35 }; 34 };
36 35
37 } // namespace navigation 36 } // namespace navigation
38 37
39 #endif // SERVICES_NAVIGATION_CONTENT_CLIENT_CONTENT_BROWSER_CLIENT_H_ 38 #endif // SERVICES_NAVIGATION_CONTENT_CLIENT_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « services/navigation/content_client/browser_main_parts.cc ('k') | services/navigation/content_client/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698