Created
January 9, 2015 09:47
-
-
Save vivekgalatage/e07251096fc31df18862 to your computer and use it in GitHub Desktop.
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
// Copyright 2015 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 MOJO_SERVICES_HTML_VIEWER_BLINK_RESOURCE_MAP_H_ | |
#define MOJO_SERVICES_HTML_VIEWER_BLINK_RESOURCE_MAP_H_ | |
#include <map> | |
#include <tuple> | |
namespace html_viewer { | |
class BlinkResourceMap { | |
public: | |
BlinkResourceMap(); | |
const char* GetResource(int id, int* length); | |
private: | |
typedef std::map<int, std::tuple<const char*, int>> ResourceMap; | |
ResourceMap resources_; | |
}; | |
} // namespace html_viewer | |
#endif // MOJO_SERVICES_HTML_VIEWER_BLINK_RESOURCE_MAP_H_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment