flutter_flutter/engine/src/flutter/flow/flow_test_utils.cc
Chris Bracken 9ff7d7ca44 Copyright header hygiene improvements (flutter/engine#21089)
Add copyright headers in a few files where they were missing.

Trim trailing blank comment line where present, for consistency with
other engine code.

Use the standard libtxt copyright header in one file where it differed
(extra (C) and comma compared to other files in libtxt).

This also amends tools/const_finder/test/const_finder_test.dart to look
for a const an additional four lines down to account for the copyright
header added to the test fixture.
2020-09-11 08:55:37 -07:00

29 lines
543 B
C++

// Copyright 2013 The Flutter Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include <string>
namespace flutter {
static std::string gGoldenDir;
static std::string gFontFile;
const std::string& GetGoldenDir() {
return gGoldenDir;
}
void SetGoldenDir(const std::string& dir) {
gGoldenDir = dir;
}
const std::string& GetFontFile() {
return gFontFile;
}
void SetFontFile(const std::string& file) {
gFontFile = file;
}
} // namespace flutter