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

Unified Diff: google_apis/drive/drive_api_url_generator.h

Issue 2693093002: Fetch file metadata of files under Team Drives. (Closed)
Patch Set: Rename the enum to TeamDrivesIntegrationStatus to be more descriptive. Created 3 years, 10 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 | « google_apis/drive/drive_api_requests_unittest.cc ('k') | google_apis/drive/drive_api_url_generator.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: google_apis/drive/drive_api_url_generator.h
diff --git a/google_apis/drive/drive_api_url_generator.h b/google_apis/drive/drive_api_url_generator.h
index af07333073254c422f8781f7589603fdd77d2d3a..dd050fe2fc48453ef8e5caffd34ddedd5d4e5be0 100644
--- a/google_apis/drive/drive_api_url_generator.h
+++ b/google_apis/drive/drive_api_url_generator.h
@@ -10,6 +10,7 @@
#include <string>
#include "base/macros.h"
+#include "google_apis/drive/drive_switches.h"
#include "url/gurl.h"
namespace google_apis {
@@ -21,7 +22,9 @@ class DriveApiUrlGenerator {
// |base_url| is the path to the target drive api server.
// Note that this is an injecting point for a testing server.
DriveApiUrlGenerator(const GURL& base_url,
- const GURL& base_thumbnail_url);
+ const GURL& base_thumbnail_url,
+ TeamDrivesIntegrationStatus team_drives_integration);
+ DriveApiUrlGenerator(const DriveApiUrlGenerator& src);
~DriveApiUrlGenerator();
// The base URL for communicating with the production drive api server.
@@ -126,6 +129,7 @@ class DriveApiUrlGenerator {
const GURL base_url_;
const GURL base_download_url_;
const GURL base_thumbnail_url_;
+ const bool enable_team_drives_;
// This class is copyable hence no DISALLOW_COPY_AND_ASSIGN here.
};
« no previous file with comments | « google_apis/drive/drive_api_requests_unittest.cc ('k') | google_apis/drive/drive_api_url_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698