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

Side by Side Diff: chrome/browser/chrome_to_mobile_service.h

Issue 9703098: Remove "base/values.h" import from "base/location.h", fix up downstream files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix one more file on ChromiumOS Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « base/location.cc ('k') | chrome/browser/chromeos/login/signed_settings_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_BROWSER_CHROME_TO_MOBILE_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROME_TO_MOBILE_SERVICE_H_
6 #define CHROME_BROWSER_CHROME_TO_MOBILE_SERVICE_H_ 6 #define CHROME_BROWSER_CHROME_TO_MOBILE_SERVICE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/file_util.h" 13 #include "base/file_util.h"
14 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
15 #include "base/scoped_temp_dir.h" 15 #include "base/scoped_temp_dir.h"
16 #include "base/string16.h" 16 #include "base/string16.h"
17 #include "base/timer.h" 17 #include "base/timer.h"
18 #include "chrome/browser/profiles/profile_keyed_service.h" 18 #include "chrome/browser/profiles/profile_keyed_service.h"
19 #include "chrome/common/net/gaia/oauth2_access_token_consumer.h" 19 #include "chrome/common/net/gaia/oauth2_access_token_consumer.h"
20 #include "content/public/common/url_fetcher_delegate.h" 20 #include "content/public/common/url_fetcher_delegate.h"
21 #include "googleurl/src/gurl.h" 21 #include "googleurl/src/gurl.h"
22 22
23 class OAuth2AccessTokenFetcher; 23 class OAuth2AccessTokenFetcher;
24 class CloudPrintURL; 24 class CloudPrintURL;
25 class Profile; 25 class Profile;
26 26
27 namespace base {
28 class DictionaryValue;
29 }
30
27 // ChromeToMobileService connects to the cloud print service to enumerate 31 // ChromeToMobileService connects to the cloud print service to enumerate
28 // compatible mobiles owned by its profile and send URLs and MHTML snapshots. 32 // compatible mobiles owned by its profile and send URLs and MHTML snapshots.
29 // The mobile list updates regularly, and explicitly by RequestMobileListUpdate. 33 // The mobile list updates regularly, and explicitly by RequestMobileListUpdate.
30 class ChromeToMobileService : public ProfileKeyedService, 34 class ChromeToMobileService : public ProfileKeyedService,
31 public content::URLFetcherDelegate, 35 public content::URLFetcherDelegate,
32 public OAuth2AccessTokenConsumer { 36 public OAuth2AccessTokenConsumer {
33 public: 37 public:
34 class Observer { 38 class Observer {
35 public: 39 public:
36 virtual ~Observer(); 40 virtual ~Observer();
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 scoped_ptr<OAuth2AccessTokenFetcher> oauth2_request_; 128 scoped_ptr<OAuth2AccessTokenFetcher> oauth2_request_;
125 scoped_ptr<content::URLFetcher> search_request_; 129 scoped_ptr<content::URLFetcher> search_request_;
126 130
127 // A timer for authentication retries and mobile device list updates. 131 // A timer for authentication retries and mobile device list updates.
128 base::OneShotTimer<ChromeToMobileService> request_timer_; 132 base::OneShotTimer<ChromeToMobileService> request_timer_;
129 133
130 DISALLOW_COPY_AND_ASSIGN(ChromeToMobileService); 134 DISALLOW_COPY_AND_ASSIGN(ChromeToMobileService);
131 }; 135 };
132 136
133 #endif // CHROME_BROWSER_CHROME_TO_MOBILE_SERVICE_H_ 137 #endif // CHROME_BROWSER_CHROME_TO_MOBILE_SERVICE_H_
OLDNEW
« no previous file with comments | « base/location.cc ('k') | chrome/browser/chromeos/login/signed_settings_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698