diff options
author | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 18:52:58 +0000 |
---|---|---|
committer | idanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 18:52:58 +0000 |
commit | 309d876cad408d9c8a03db4aca9136151f97bdf4 (patch) | |
tree | 72d757721e69239b65640f3d48af979dc7f545c0 /chrome | |
parent | 7ee4c40760270f17c2cdaa02e327dd3ec1453c9b (diff) | |
download | chromium_src-309d876cad408d9c8a03db4aca9136151f97bdf4.zip chromium_src-309d876cad408d9c8a03db4aca9136151f97bdf4.tar.gz chromium_src-309d876cad408d9c8a03db4aca9136151f97bdf4.tar.bz2 |
Empty placeholder for Privacy Blacklist Tool to be implemented.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/150105
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19623 0039d316-1c4b-4281-b951-d872f2087c98
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())); +} |