1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 var inIncognitoContext = chrome.extension.inIncognitoContext;
6 var message = inIncognitoContext ? "waiting_incognito" : "waiting";
8 function reportSuccess() {
9 chrome.test.sendMessage(message);
12 chrome.browserAction.onClicked.addListener(function() {
16 chrome.bookmarks.onCreated.addListener(function() {