summaryrefslogtreecommitdiffstats
path: root/chrome/tools/pbl_tool
diff options
context:
space:
mode:
authoridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 18:52:58 +0000
committeridanan@chromium.org <idanan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 18:52:58 +0000
commit309d876cad408d9c8a03db4aca9136151f97bdf4 (patch)
tree72d757721e69239b65640f3d48af979dc7f545c0 /chrome/tools/pbl_tool
parent7ee4c40760270f17c2cdaa02e327dd3ec1453c9b (diff)
downloadchromium_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/tools/pbl_tool')
-rw-r--r--chrome/tools/pbl_tool/pbl_tool.cc17
1 files changed, 17 insertions, 0 deletions
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()));
+}