Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(576)

Unified Diff: chrome/common/safe_browsing/download_file_types.proto

Issue 1911883002: Revert "Re-land: Add download_file_types.proto with ascii->binary conversion, as a resource." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/safe_browsing/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/safe_browsing/download_file_types.proto
diff --git a/chrome/common/safe_browsing/download_file_types.proto b/chrome/common/safe_browsing/download_file_types.proto
deleted file mode 100644
index 8efe589a32138d3eec0159b50fad1e51a3da1f5f..0000000000000000000000000000000000000000
--- a/chrome/common/safe_browsing/download_file_types.proto
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2016 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.
-
-syntax = "proto2";
-
-option optimize_for = LITE_RUNTIME;
-
-package safe_browsing;
-
-// See //chrome/browser/resources/safe_browsing/README.md for guidelines
-// on how to set fields in this file.
-
-// Next id: 5
-message DownloadFileType {
- optional string extension = 1; // required
- optional int64 uma_value = 2; // required
- optional bool is_archive = 3;
-
- enum DangerLevel {
- NOT_DANGEROUS = 0;
- ALLOW_ON_USER_GESTURE = 1;
- DANGEROUS = 2;
- }
-
- enum AutoOpenHint {
- ALLOW_AUTO_OPEN = 1;
- DISALLOW_AUTO_OPEN = 2;
- }
-
- enum PlatformType {
- PLATFORM_ANDROID = 1;
- PLATFORM_CHROME_OS = 2;
- PLATFORM_LINUX = 3;
- PLATFORM_MAC = 4;
- PLATFORM_WINDOWS = 5;
- }
-
- enum PingSetting {
- SAMPLED_PING = 0;
- NO_PING = 1;
- FULL_PING = 2;
- }
-
- // TODO(nparker): Add a field describing what Chrome-internal unpacker
- // should be used to scan this file type (DMG or zip are currently supported)
-
- // Next id: 5
- message PlatformSettings {
- optional PlatformType platform = 1;
- optional DangerLevel danger_level = 2; // required
- optional AutoOpenHint auto_open_hint = 3; // required
- optional PingSetting ping_setting = 4; // required
- };
-
- repeated PlatformSettings platform_settings = 4; // required >= 1
-};
-
-// Next id: 5
-message DownloadFileTypeConfig {
- optional uint32 version_id = 1;
- optional float sampled_ping_probability = 2;
- repeated DownloadFileType file_types = 3;
- optional DownloadFileType default_file_type = 4;
-}
« no previous file with comments | « chrome/common/safe_browsing/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698