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

Side by Side Diff: extensions/shell/browser/shell_extensions_api_client.h

Issue 2331343012: Create MetricsPrivateDelegate for metricsPrivate behavior (Closed)
Patch Set: Created 4 years, 3 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 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 EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_
7 7
8 #include <memory>
9
8 #include "extensions/browser/api/extensions_api_client.h" 10 #include "extensions/browser/api/extensions_api_client.h"
9 11
10 namespace extensions { 12 namespace extensions {
11 13
12 class ShellExtensionsAPIClient : public ExtensionsAPIClient { 14 class ShellExtensionsAPIClient : public ExtensionsAPIClient {
13 public: 15 public:
14 ShellExtensionsAPIClient(); 16 ShellExtensionsAPIClient();
15 17
16 // ExtensionsAPIClient implementation. 18 // ExtensionsAPIClient implementation.
17 void AttachWebContentsHelpers(content::WebContents* web_contents) const 19 void AttachWebContentsHelpers(content::WebContents* web_contents) const
18 override; 20 override;
19 AppViewGuestDelegate* CreateAppViewGuestDelegate() const override; 21 AppViewGuestDelegate* CreateAppViewGuestDelegate() const override;
22 std::unique_ptr<MetricsPrivateDelegate> CreateMetricsPrivateDelegate()
23 const override;
20 }; 24 };
21 25
22 } // namespace extensions 26 } // namespace extensions
23 27
24 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_ 28 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_API_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698