Home | History | Annotate | Download | only in activity_log
      1 // Copyright 2013 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.
      4 
      5 // String constants used when logging data in the extension activity log.
      6 
      7 #include "chrome/browser/extensions/activity_log/activity_action_constants.h"
      8 
      9 namespace activity_log_constants {
     10 
     11 // Keys that may be used in the "other" attribute of an Action.
     12 const char kActionDomVerb[] = "dom_verb";
     13 const char kActionExtra[] = "extra";
     14 const char kActionPrerender[] = "prerender";
     15 const char kActionWebRequest[] = "web_request";
     16 
     17 // A string used in place of the real URL when the URL is hidden because it is
     18 // in an incognito window.  Extension activity logs mentioning kIncognitoUrl
     19 // let the user know that an extension is manipulating incognito tabs without
     20 // recording specific data about the pages.
     21 const char kIncognitoUrl[] = "<incognito>";
     22 
     23 // A string used as a placeholder for URLs which have been removed from the
     24 // argument list and stored to the arg_url field.
     25 const char kArgUrlPlaceholder[] = "<arg_url>";
     26 
     27 }  // namespace activity_log_constants
     28