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

Unified Diff: third_party/gsutil/gslib/cred_types.py

Issue 1377933002: [catapult] - Copy Telemetry's gsutilz over to third_party. (Closed) Base URL: https://github.com/catapult-project/catapult.git@master
Patch Set: Rename to gsutil. Created 5 years, 3 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 | « third_party/gsutil/gslib/copy_helper.py ('k') | third_party/gsutil/gslib/cs_api_map.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/gsutil/gslib/cred_types.py
diff --git a/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/__init__.py b/third_party/gsutil/gslib/cred_types.py
similarity index 60%
copy from tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/__init__.py
copy to third_party/gsutil/gslib/cred_types.py
index 6139d510a10b0bc4ee79a0baeb0a2f5847bec031..3914de1e8b21d323e8eb70458cc78ab3e1b68877 100644
--- a/tracing/third_party/tvcm/third_party/rcssmin/_setup/py3/__init__.py
+++ b/third_party/gsutil/gslib/cred_types.py
@@ -1,7 +1,5 @@
-# -*- coding: ascii -*-
-#
-# Copyright 2007, 2008, 2009, 2010, 2011
-# Andr\xe9 Malo or his licensors, as applicable
+# -*- coding: utf-8 -*-
+# Copyright 2013 Google Inc. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -14,14 +12,14 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-"""
-================
- Package _setup
-================
+"""Defines gsutil-supported credential types."""
+
+from __future__ import absolute_import
-This package provides tools for main package setup.
-"""
-__author__ = "Andr\xe9 Malo"
-__docformat__ = "restructuredtext en"
-from _setup.setup import run # pylint: disable = W0611
+class CredTypes(object):
+ HMAC = "HMAC"
+ OAUTH2_SERVICE_ACCOUNT = "OAuth 2.0 Service Account"
+ OAUTH2_USER_ACCOUNT = "Oauth 2.0 User Account"
+ GCE = "GCE"
+ DEVSHELL = "Google Developer Shell"
« no previous file with comments | « third_party/gsutil/gslib/copy_helper.py ('k') | third_party/gsutil/gslib/cs_api_map.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698