Home | History | Annotate | Download | only in test
      1 // Copyright 2013 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 CC_TEST_LAYER_TREE_JSON_PARSER_H_
      6 #define CC_TEST_LAYER_TREE_JSON_PARSER_H_
      7 
      8 #include <string>
      9 
     10 #include "base/memory/ref_counted.h"
     11 
     12 namespace cc {
     13 
     14 class ContentLayerClient;
     15 class Layer;
     16 
     17 scoped_refptr<Layer> ParseTreeFromJson(std::string json,
     18                                        ContentLayerClient* content_client);
     19 
     20 }  // namespace cc
     21 
     22 #endif  // CC_TEST_LAYER_TREE_JSON_PARSER_H_
     23