diff options
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/chrome.gyp | 12 | ||||
-rw-r--r-- | chrome/tools/pbl_tool/pbl_tool.cc | 17 |
2 files changed, 29 insertions, 0 deletions
diff --git a/chrome/chrome.gyp b/chrome/chrome.gyp index 626f839..f006520 100644 --- a/chrome/chrome.gyp +++ b/chrome/chrome.gyp @@ -4015,6 +4015,18 @@ ], }, { + 'target_name': 'pbl_tool', + 'type': 'executable', + 'msvs_guid': '265C427B-D1FF-4922-A47C-0754DDFF52E1', + 'dependencies': [ + '../base/base.gyp:base', + 'browser' + ], + 'sources': [ + 'tools/pbl_tool/pbl_tool.cc', + ], + }, + { 'target_name': 'perf_tests', 'type': 'executable', 'msvs_guid': '9055E088-25C6-47FD-87D5-D9DD9FD75C9F', diff --git a/chrome/tools/pbl_tool/pbl_tool.cc b/chrome/tools/pbl_tool/pbl_tool.cc new file mode 100644 index 0000000..76d18de --- /dev/null +++ b/chrome/tools/pbl_tool/pbl_tool.cc @@ -0,0 +1,17 @@ +// Copyright (c) 2009 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. + +// This tool manages privacy blacklists. Primarily for loading a text +// blacklist into the binary agregate blacklist. +#include <iostream> + +#include "base/process_util.h" +#include "chrome/browser/privacy_blacklist/blacklist.h" +#include "chrome/browser/privacy_blacklist/blacklist_io.h" + +int main(int argc, char* argv[]) { + base::EnableTerminationOnHeapCorruption(); + std::cout << "Aw, Snap! This is not implemented yet." << std::endl; + CHECK(std::string() == Blacklist::StripCookies(std::string())); +} |