forked from flutter/engine
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Re-land "Support multiple shells in a single process. (flutte…
…r#4932)" (flutter#4977)" (flutter#4981) This reverts commit a3327bf.
- Loading branch information
Showing
345 changed files
with
11,071 additions
and
12,558 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// Copyright 2018 The Chromium Authors. All rights reserved. | ||
// Use of this source code is governed by a BSD-style license that can be | ||
// found in the LICENSE file. | ||
|
||
#ifndef FLUTTER_ASSETS_ASSET_PROVIDER_H_ | ||
#define FLUTTER_ASSETS_ASSET_PROVIDER_H_ | ||
|
||
#include <string> | ||
#include <vector> | ||
|
||
#include "lib/fxl/memory/ref_counted.h" | ||
|
||
namespace blink { | ||
|
||
class AssetProvider | ||
: public fxl::RefCountedThreadSafe<AssetProvider> | ||
{ | ||
public: | ||
virtual bool GetAsBuffer(const std::string& asset_name, | ||
std::vector<uint8_t>* data) = 0; | ||
virtual ~AssetProvider() = default; | ||
}; | ||
|
||
} // namespace blink | ||
#endif // FLUTTER_ASSETS_ASSET_PROVIDER_H |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.