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

Side by Side Diff: chrome/app/android/chrome_main_delegate_android.h

Issue 1940443002: 📤 Upstream SafeBrowsingApiBridge. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comments Created 4 years, 7 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
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/app/android/chrome_main_delegate_android.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 13 matching lines...) Expand all
24 ChromeMainDelegateAndroid(); 24 ChromeMainDelegateAndroid();
25 ~ChromeMainDelegateAndroid() override; 25 ~ChromeMainDelegateAndroid() override;
26 26
27 bool BasicStartupComplete(int* exit_code) override; 27 bool BasicStartupComplete(int* exit_code) override;
28 void SandboxInitialized(const std::string& process_type) override; 28 void SandboxInitialized(const std::string& process_type) override;
29 int RunProcess( 29 int RunProcess(
30 const std::string& process_type, 30 const std::string& process_type,
31 const content::MainFunctionParams& main_function_params) override; 31 const content::MainFunctionParams& main_function_params) override;
32 void ProcessExiting(const std::string& process_type) override; 32 void ProcessExiting(const std::string& process_type) override;
33 33
34 #if defined(SAFE_BROWSING_DB_REMOTE)
35 virtual safe_browsing::SafeBrowsingApiHandler* CreateSafeBrowsingApiHandler();
36 #endif
37
38 private: 34 private:
39 std::unique_ptr<content::BrowserMainRunner> browser_runner_; 35 std::unique_ptr<content::BrowserMainRunner> browser_runner_;
40 36
41 #if defined(SAFE_BROWSING_DB_REMOTE)
42 std::unique_ptr<safe_browsing::SafeBrowsingApiHandler> 37 std::unique_ptr<safe_browsing::SafeBrowsingApiHandler>
43 safe_browsing_api_handler_; 38 safe_browsing_api_handler_;
44 #endif
45 39
46 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateAndroid); 40 DISALLOW_COPY_AND_ASSIGN(ChromeMainDelegateAndroid);
47 }; 41 };
48 42
49 #endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_ 43 #endif // CHROME_APP_ANDROID_CHROME_MAIN_DELEGATE_ANDROID_H_
OLDNEW
« no previous file with comments | « chrome/android/java_sources.gni ('k') | chrome/app/android/chrome_main_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698