OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_URL_GENERATOR_H_ | 5 #ifndef GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_ |
6 #define CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_URL_GENERATOR_H_ | 6 #define GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
11 | 11 |
12 namespace google_apis { | 12 namespace google_apis { |
13 | 13 |
14 // This class is used to generate URLs for communicating with drive api | 14 // This class is used to generate URLs for communicating with drive api |
15 // servers for production, and a local server for testing. | 15 // servers for production, and a local server for testing. |
16 class DriveApiUrlGenerator { | 16 class DriveApiUrlGenerator { |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 | 80 |
81 private: | 81 private: |
82 const GURL base_url_; | 82 const GURL base_url_; |
83 const GURL base_download_url_; | 83 const GURL base_download_url_; |
84 | 84 |
85 // This class is copyable hence no DISALLOW_COPY_AND_ASSIGN here. | 85 // This class is copyable hence no DISALLOW_COPY_AND_ASSIGN here. |
86 }; | 86 }; |
87 | 87 |
88 } // namespace google_apis | 88 } // namespace google_apis |
89 | 89 |
90 #endif // CHROME_BROWSER_GOOGLE_APIS_DRIVE_API_URL_GENERATOR_H_ | 90 #endif // GOOGLE_APIS_DRIVE_DRIVE_API_URL_GENERATOR_H_ |
OLD | NEW |