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

Side by Side Diff: chrome/service/cloud_print/connector_settings.h

Issue 11360151: Move common cloud print methods from service/cloud_print to common/cloud_print. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ 5 #ifndef CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_
6 #define CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ 6 #define CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
13 13
14 class ServiceProcessPrefs; 14 class ServiceProcessPrefs;
15 15
16 namespace base { 16 namespace base {
17 class DictionaryValue; 17 class DictionaryValue;
18 } 18 }
19 19
20 namespace cloud_print {
21
20 class ConnectorSettings { 22 class ConnectorSettings {
21 public: 23 public:
22 ConnectorSettings(); 24 ConnectorSettings();
23 ~ConnectorSettings(); 25 ~ConnectorSettings();
24 26
25 void InitFrom(ServiceProcessPrefs* prefs); 27 void InitFrom(ServiceProcessPrefs* prefs);
26 28
27 void CopyFrom(const ConnectorSettings& source); 29 void CopyFrom(const ConnectorSettings& source);
28 30
29 const GURL& server_url() const { 31 const GURL& server_url() const {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 87
86 // List of printers which should not be connected. 88 // List of printers which should not be connected.
87 std::set<std::string> printer_blacklist_; 89 std::set<std::string> printer_blacklist_;
88 90
89 // Print system settings. 91 // Print system settings.
90 scoped_ptr<base::DictionaryValue> print_system_settings_; 92 scoped_ptr<base::DictionaryValue> print_system_settings_;
91 93
92 DISALLOW_COPY_AND_ASSIGN(ConnectorSettings); 94 DISALLOW_COPY_AND_ASSIGN(ConnectorSettings);
93 }; 95 };
94 96
97 } // namespace cloud_print
98
95 #endif // CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_ 99 #endif // CHROME_SERVICE_CLOUD_PRINT_CONNECTOR_SETTINGS_H_
96 100
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/cloud_print_wipeout.cc ('k') | chrome/service/cloud_print/connector_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698