OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #include "apps/shell/shell_main_delegate.h" | 5 #include "apps/shell/app/shell_main_delegate.h" |
6 | 6 |
7 #include "apps/shell/shell_content_browser_client.h" | 7 #include "apps/shell/browser/shell_content_browser_client.h" |
8 #include "apps/shell/shell_content_client.h" | 8 #include "apps/shell/common/shell_content_client.h" |
9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
12 #include "base/path_service.h" | 12 #include "base/path_service.h" |
13 #include "content/public/browser/browser_main_runner.h" | 13 #include "content/public/browser/browser_main_runner.h" |
14 #include "ui/base/resource/resource_bundle.h" | 14 #include "ui/base/resource/resource_bundle.h" |
15 | 15 |
16 namespace { | 16 namespace { |
17 | 17 |
18 void InitLogging() { | 18 void InitLogging() { |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 // TODO(jamescook): Create a ShellContentRendererClient with the extensions | 58 // TODO(jamescook): Create a ShellContentRendererClient with the extensions |
59 // initialization pieces of ChromeContentRendererClient. | 59 // initialization pieces of ChromeContentRendererClient. |
60 return content::ContentMainDelegate::CreateContentRendererClient(); | 60 return content::ContentMainDelegate::CreateContentRendererClient(); |
61 } | 61 } |
62 | 62 |
63 void ShellMainDelegate::InitializeResourceBundle() { | 63 void ShellMainDelegate::InitializeResourceBundle() { |
64 ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); | 64 ui::ResourceBundle::InitSharedInstanceWithLocale("en-US", NULL); |
65 } | 65 } |
66 | 66 |
67 } // namespace apps | 67 } // namespace apps |
OLD | NEW |