OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_DISPLAY_QUIRKS_CLIENT_DELEGATE_IMPL_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_DISPLAY_QUIRKS_CLIENT_DELEGATE_IMPL_H_ |
| 7 |
| 8 #include "base/macros.h" |
| 9 #include "components/quirks_client/quirks_client.h" |
| 10 |
| 11 namespace quirks_client { |
| 12 |
| 13 // Working implementation of QuirksClientDelegate for access to chrome- |
| 14 // restricted parts. |
| 15 class QuirksClientDelegateImpl : public QuirksClientDelegate { |
| 16 public: |
| 17 QuirksClientDelegateImpl(base::MessageLoopForUI* message_loop_ui, |
| 18 base::SequencedWorkerPool* blocking_pool, |
| 19 PrefService* local_state, |
| 20 net::URLRequestContextGetter* url_context_getter); |
| 21 ~QuirksClientDelegateImpl() override; |
| 22 |
| 23 // QuirksClientBrowserDelegate implementation. |
| 24 std::string api_key_quirks() override; |
| 25 base::FilePath GetDisplayProfileDirectory() override; |
| 26 |
| 27 private: |
| 28 DISALLOW_COPY_AND_ASSIGN(QuirksClientDelegateImpl); |
| 29 }; |
| 30 |
| 31 } // namespace quirks_client |
| 32 |
| 33 #endif // CHROME_BROWSER_CHROMEOS_DISPLAY_QUIRKS_CLIENT_DELEGATE_IMPL_H_ |
OLD | NEW |