OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ | 5 #ifndef CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ |
6 #define CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ | 6 #define CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "chrome/app/chrome_main_delegate.h" | 10 #include "chrome/app/chrome_main_delegate.h" |
10 #include "content/public/browser/browser_main_runner.h" | 11 #include "content/public/browser/browser_main_runner.h" |
11 | 12 |
12 namespace safe_browsing { | 13 namespace safe_browsing { |
13 class SafeBrowsingApiHandler; | 14 class SafeBrowsingApiHandler; |
14 } | 15 } |
15 | 16 |
16 // Android override of ChromeMainDelegate | 17 // Android override of ChromeMainDelegate |
17 class ChromeMainDelegateAndroid : public ChromeMainDelegate { | 18 class ChromeMainDelegateAndroid : public ChromeMainDelegate { |
(...skipping 19 matching lines...) Expand all Loading... |
37 scoped_ptr<content::BrowserMainRunner> browser_runner_; | 38 scoped_ptr<content::BrowserMainRunner> browser_runner_; |
38 | 39 |
39 #if defined(SAFE_BROWSING_DB_REMOTE) | 40 #if defined(SAFE_BROWSING_DB_REMOTE) |
40 scoped_ptr<safe_browsing::SafeBrowsingApiHandler> safe_browsing_api_handler_; | 41 scoped_ptr<safe_browsing::SafeBrowsingApiHandler> safe_browsing_api_handler_; |
41 #endif | 42 #endif |
42 | 43 |
43 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateAndroid); | 44 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateAndroid); |
44 }; | 45 }; |
45 | 46 |
46 #endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ | 47 #endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ |
OLD | NEW |