| 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 "chrome/browser/extensions/chrome_extensions_browser_client.h" | 5 #include "chrome/browser/extensions/chrome_extensions_browser_client.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "chrome/browser/browser_process.h" | 8 #include "chrome/browser/browser_process.h" |
| 9 #include "chrome/browser/extensions/chrome_notification_observer.h" |
| 9 #include "chrome/browser/profiles/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
| 10 #include "chrome/browser/profiles/profile_manager.h" | 11 #include "chrome/browser/profiles/profile_manager.h" |
| 11 #include "chrome/browser/ui/browser_finder.h" | 12 #include "chrome/browser/ui/browser_finder.h" |
| 12 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
| 13 | 14 |
| 14 namespace extensions { | 15 namespace extensions { |
| 15 | 16 |
| 16 namespace { | 17 namespace { |
| 17 | 18 |
| 18 static base::LazyInstance<ChromeExtensionsBrowserClient> g_client = | 19 static base::LazyInstance<ChromeExtensionsBrowserClient> g_client = |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 CommandLine::ForCurrentProcess()->HasSwitch(switches::kShowAppList); | 70 CommandLine::ForCurrentProcess()->HasSwitch(switches::kShowAppList); |
| 70 #endif | 71 #endif |
| 71 } | 72 } |
| 72 | 73 |
| 73 // static | 74 // static |
| 74 ChromeExtensionsBrowserClient* ChromeExtensionsBrowserClient::GetInstance() { | 75 ChromeExtensionsBrowserClient* ChromeExtensionsBrowserClient::GetInstance() { |
| 75 return g_client.Pointer(); | 76 return g_client.Pointer(); |
| 76 } | 77 } |
| 77 | 78 |
| 78 } // namespace extensions | 79 } // namespace extensions |
| OLD | NEW |