thin_webview_initializer.cc 636 B

1234567891011121314151617181920212223
  1. // Copyright 2020 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. #include "components/thin_webview/thin_webview_initializer.h"
  5. namespace thin_webview {
  6. namespace android {
  7. ThinWebViewInitializer* g_thin_webview_initializer = nullptr;
  8. // static
  9. void ThinWebViewInitializer::SetInstance(ThinWebViewInitializer* instance) {
  10. g_thin_webview_initializer = instance;
  11. }
  12. // static
  13. ThinWebViewInitializer* ThinWebViewInitializer::GetInstance() {
  14. return g_thin_webview_initializer;
  15. }
  16. } // namespace android
  17. } // namespace thin_webview