| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ | 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ |
| 6 #define HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ | 6 #define HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "content/public/browser/content_browser_client.h" | 8 #include "content/public/browser/content_browser_client.h" |
| 9 | 9 |
| 10 namespace headless { | 10 namespace headless { |
| (...skipping 10 matching lines...) Expand all Loading... |
| 21 const content::MainFunctionParams&) override; | 21 const content::MainFunctionParams&) override; |
| 22 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, | 22 void OverrideWebkitPrefs(content::RenderViewHost* render_view_host, |
| 23 content::WebPreferences* prefs) override; | 23 content::WebPreferences* prefs) override; |
| 24 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; | 24 content::DevToolsManagerDelegate* GetDevToolsManagerDelegate() override; |
| 25 std::unique_ptr<base::Value> GetServiceManifestOverlay( | 25 std::unique_ptr<base::Value> GetServiceManifestOverlay( |
| 26 base::StringPiece name) override; | 26 base::StringPiece name) override; |
| 27 void GetQuotaSettings( | 27 void GetQuotaSettings( |
| 28 content::BrowserContext* context, | 28 content::BrowserContext* context, |
| 29 content::StoragePartition* partition, | 29 content::StoragePartition* partition, |
| 30 const storage::OptionalQuotaSettingsCallback& callback) override; | 30 const storage::OptionalQuotaSettingsCallback& callback) override; |
| 31 void GetAdditionalMappedFilesForChildProcess( |
| 32 const base::CommandLine& command_line, |
| 33 int child_process_id, |
| 34 content::FileDescriptorInfo* mappings) override; |
| 35 void AppendExtraCommandLineSwitches(base::CommandLine* command_line, |
| 36 int child_process_id) override; |
| 31 | 37 |
| 32 private: | 38 private: |
| 33 HeadlessBrowserImpl* browser_; // Not owned. | 39 HeadlessBrowserImpl* browser_; // Not owned. |
| 34 | 40 |
| 35 DISALLOW_COPY_AND_ASSIGN(HeadlessContentBrowserClient); | 41 DISALLOW_COPY_AND_ASSIGN(HeadlessContentBrowserClient); |
| 36 }; | 42 }; |
| 37 | 43 |
| 38 } // namespace headless | 44 } // namespace headless |
| 39 | 45 |
| 40 #endif // HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ | 46 #endif // HEADLESS_LIB_BROWSER_HEADLESS_CONTENT_BROWSER_CLIENT_H_ |
| OLD | NEW |