OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include "chrome/browser/printing/cloud_print/cloud_print_url.h" | 5 #include "chrome/browser/printing/cloud_print/cloud_print_url.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "chrome/browser/prefs/pref_service.h" | 9 #include "chrome/browser/prefs/pref_service.h" |
10 #include "chrome/browser/profile.h" | 10 #include "chrome/browser/profiles/profile.h" |
11 #include "chrome/common/chrome_switches.h" | 11 #include "chrome/common/chrome_switches.h" |
12 #include "chrome/common/pref_names.h" | 12 #include "chrome/common/pref_names.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
14 | 14 |
15 const char kDefaultCloudPrintServiceURL[] = "https://www.google.com/cloudprint"; | 15 const char kDefaultCloudPrintServiceURL[] = "https://www.google.com/cloudprint"; |
16 const char kLearnMoreURL[] = | 16 const char kLearnMoreURL[] = |
17 "http://www.google.com/support/cloudprint"; | 17 "http://www.google.com/support/cloudprint"; |
18 const char kTestPageURL[] = | 18 const char kTestPageURL[] = |
19 "http://www.google.com/landing/cloudprint/enable.html?print=true"; | 19 "http://www.google.com/landing/cloudprint/enable.html?print=true"; |
20 | 20 |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 | 66 |
67 GURL CloudPrintURL::GetCloudPrintLearnMoreURL() { | 67 GURL CloudPrintURL::GetCloudPrintLearnMoreURL() { |
68 GURL cloud_print_learn_more_url(kLearnMoreURL); | 68 GURL cloud_print_learn_more_url(kLearnMoreURL); |
69 return cloud_print_learn_more_url; | 69 return cloud_print_learn_more_url; |
70 } | 70 } |
71 | 71 |
72 GURL CloudPrintURL::GetCloudPrintTestPageURL() { | 72 GURL CloudPrintURL::GetCloudPrintTestPageURL() { |
73 GURL cloud_print_learn_more_url(kTestPageURL); | 73 GURL cloud_print_learn_more_url(kTestPageURL); |
74 return cloud_print_learn_more_url; | 74 return cloud_print_learn_more_url; |
75 } | 75 } |
OLD | NEW |