// Copyright (c) 2013 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. var addTagWatcher = require("tagWatcher").addTagWatcher; // Output error message to console when using tag with no permission. var errorMessage = "You do not have permission to use tag." + " Be sure to declare 'adview' permission in your manifest."; addTagWatcher('ADVIEW', function() { console.error(errorMessage); });