-
Notifications
You must be signed in to change notification settings - Fork 6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
This reverts commit 6baff4c.
- Loading branch information
1 parent
6baff4c
commit 9199b40
Showing
345 changed files
with
11,072 additions
and
12,543 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.