blob: caaf2bdb1738fd0d11f2c68e5b761fd7b89961d5 [file] [log] [blame]
// Copyright 2019 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 COMPONENTS_UI_DEVTOOLS_AGENT_UTIL_H_
#define COMPONENTS_UI_DEVTOOLS_AGENT_UTIL_H_
#include "base/files/file_path.h"
#include "components/ui_devtools/devtools_export.h"
namespace ui_devtools {
UI_DEVTOOLS_EXPORT extern const char kChromiumCodeSearchURL[];
UI_DEVTOOLS_EXPORT extern const char kChromiumCodeSearchSrcURL[];
// Synchonously gets source code and returns true if successful.
bool UI_DEVTOOLS_EXPORT GetSourceCode(std::string path,
std::string* source_code);
} // namespace ui_devtools
#endif // COMPONENTS_UI_DEVTOOLS_AGENT_UTIL_H_