| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_CHROME_CONTENT_CLIENT_H_ | 5 #ifndef CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 6 #define CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/common/content_client.h" | 9 #include "content/common/content_client.h" |
| 10 | 10 |
| 11 namespace chrome { | 11 namespace chrome { |
| 12 | 12 |
| 13 class ChromeContentClient : public content::ContentClient { | 13 class ChromeContentClient : public content::ContentClient { |
| 14 public: | 14 public: |
| 15 // Sets the URL that is logged if the child process crashes. Use GURL() to | |
| 16 // clear the URL. | |
| 17 virtual void SetActiveURL(const GURL& url); | 15 virtual void SetActiveURL(const GURL& url); |
| 18 | |
| 19 // Sets the data on the gpu to send along with crash reports. | |
| 20 virtual void SetGpuInfo(const GPUInfo& gpu_info); | 16 virtual void SetGpuInfo(const GPUInfo& gpu_info); |
| 17 virtual void PluginProcessStarted(); |
| 21 }; | 18 }; |
| 22 | 19 |
| 23 } // namespace chrome | 20 } // namespace chrome |
| 24 | 21 |
| 25 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ | 22 #endif // CHROME_COMMON_CHROME_CONTENT_CLIENT_H_ |
| OLD | NEW |