Skip to content

Commit

Permalink
Merge pull request #9448 from /issues/16910
Browse files Browse the repository at this point in the history
Remove PermissionLifetime feature from brave://flags.
  • Loading branch information
goodov committed Jul 16, 2021
2 parents 2d6b3a2 + 0a9e44f commit e62631a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions chromium_src/chrome/browser/about_flags.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
#include "brave/components/speedreader/buildflags.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "components/permissions/features.h"
#include "components/prefs/pref_service.h"
#include "net/base/features.h"

Expand Down Expand Up @@ -191,10 +190,6 @@ using ntp_background_images::features::kBraveNTPSuperReferralWallpaper;
flag_descriptions::kBraveEphemeralStorageKeepAliveName, \
flag_descriptions::kBraveEphemeralStorageKeepAliveDescription, kOsAll, \
FEATURE_VALUE_TYPE(net::features::kBraveEphemeralStorageKeepAlive)}, \
{"brave-permission-lifetime", \
flag_descriptions::kBravePermissionLifetimeName, \
flag_descriptions::kBravePermissionLifetimeDescription, kOsAll, \
FEATURE_VALUE_TYPE(permissions::features::kPermissionLifetime)}, \
{"brave-rewards-verbose-logging", \
flag_descriptions::kBraveRewardsVerboseLoggingName, \
flag_descriptions::kBraveRewardsVerboseLoggingDescription, \
Expand Down
4 changes: 0 additions & 4 deletions chromium_src/chrome/browser/flag_descriptions.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,10 +99,6 @@ const char kBraveEphemeralStorageKeepAliveName[] =
const char kBraveEphemeralStorageKeepAliveDescription[] =
"Keep ephemeral storage partitions alive for a specified time after all "
"tabs for that origin are closed";
const char kBravePermissionLifetimeName[] = "Permission Lifetime";
const char kBravePermissionLifetimeDescription[] =
"Enables the option to choose a time period after which a permission will "
"be automatically revoked";

#if BUILDFLAG(ENABLE_GEMINI_WALLET)
const char kBraveRewardsGeminiName[] = "Enable Gemini for Brave Rewards";
Expand Down
2 changes: 0 additions & 2 deletions chromium_src/chrome/browser/flag_descriptions.h
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ extern const char kBraveEphemeralStorageName[];
extern const char kBraveEphemeralStorageDescription[];
extern const char kBraveEphemeralStorageKeepAliveName[];
extern const char kBraveEphemeralStorageKeepAliveDescription[];
extern const char kBravePermissionLifetimeName[];
extern const char kBravePermissionLifetimeDescription[];
} // namespace flag_descriptions

#endif // BRAVE_CHROMIUM_SRC_CHROME_BROWSER_FLAG_DESCRIPTIONS_H_

0 comments on commit e62631a

Please sign in to comment.