mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 18:33:54 +00:00
b67ca8598b
Apparently if it ain't broke, don't fix it. Opera support seems to be exactly the same as Chrome except changing the path. The file is basically just copied with Chrome replaced with Opera + path change. Added cross platform functionality to chrome and opera. Plus abstracted it in more general functions that can be used for other chrome based browsers.
24 lines
616 B
C++
24 lines
616 B
C++
/*
|
|
* Copyright (c) 2014, Facebook, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This source code is licensed under the BSD-style license found in the
|
|
* LICENSE file in the root directory of this source tree. An additional grant
|
|
* of patent rights can be found in the PATENTS file in the same directory.
|
|
*
|
|
*/
|
|
#include <boost/property_tree/json_parser.hpp>
|
|
|
|
#include <osquery/filesystem.h>
|
|
#include <osquery/tables.h>
|
|
|
|
namespace fs = boost::filesystem;
|
|
namespace pt = boost::property_tree;
|
|
|
|
namespace osquery {
|
|
namespace tables {
|
|
|
|
QueryData genChromeBasedExtensions(QueryContext& context, const fs::path sub_dir);
|
|
|
|
}
|
|
} |