Send compressed histograms with system logs when sending feedback.
[chromium-blink-merge.git] / apps / shell / app_shell_main_delegate.h
blob86aae446170732bf7211caff8e28d2deca61cd0d
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
6 #define APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_
8 #include "apps/shell/app_shell_content_client.h"
9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h"
11 #include "content/public/app/content_main_delegate.h"
13 namespace apps {
15 class AppShellContentBrowserClient;
17 class AppShellMainDelegate : public content::ContentMainDelegate {
18 public:
19 AppShellMainDelegate();
20 virtual ~AppShellMainDelegate();
22 // ContentMainDelegate implementation:
23 virtual bool BasicStartupComplete(int* exit_code) OVERRIDE;
24 virtual void PreSandboxStartup() OVERRIDE;
25 virtual content::ContentBrowserClient* CreateContentBrowserClient() OVERRIDE;
27 static void InitializeResourceBundle();
29 private:
30 scoped_ptr<AppShellContentBrowserClient> browser_client_;
31 AppShellContentClient content_client_;
33 DISALLOW_COPY_AND_ASSIGN(AppShellMainDelegate);
36 } // namespace apps
38 #endif // APPS_SHELL_APP_SHELL_MAIN_DELEGATE_H_