| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ | 5 #ifndef CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ |
| 6 #define CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ | 6 #define CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
| 9 #include "content/public/browser/plugin_service.h" | 10 #include "content/public/browser/plugin_service.h" |
| 10 | 11 |
| 11 namespace content { | 12 namespace content { |
| 12 | 13 |
| 13 class FakePluginService : public PluginService { | 14 class FakePluginService : public PluginService { |
| 14 public: | 15 public: |
| 15 FakePluginService(); | 16 FakePluginService(); |
| 16 ~FakePluginService() override; | 17 ~FakePluginService() override; |
| 17 // PluginService implementation: | 18 // PluginService implementation: |
| 18 void Init() override; | 19 void Init() override; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 bool PpapiDevChannelSupported(BrowserContext* browser_context, | 64 bool PpapiDevChannelSupported(BrowserContext* browser_context, |
| 64 const GURL& document_url) override; | 65 const GURL& document_url) override; |
| 65 | 66 |
| 66 private: | 67 private: |
| 67 DISALLOW_COPY_AND_ASSIGN(FakePluginService); | 68 DISALLOW_COPY_AND_ASSIGN(FakePluginService); |
| 68 }; | 69 }; |
| 69 | 70 |
| 70 } // namespace content | 71 } // namespace content |
| 71 | 72 |
| 72 #endif // CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ | 73 #endif // CONTENT_TEST_FAKE_PLUGIN_SERVICE_H_ |
| OLD | NEW |