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

Side by Side Diff: chrome/browser/intents/cws_intents_registry.h

Issue 11468030: proof of concept for building with libc++ Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: works. needs breakpad patch too. 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
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/nacl_host/nacl_validation_cache.h » ('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_INTENTS_CWS_INTENTS_REGISTRY_H_ 5 #ifndef CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_H_
6 #define CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_H_ 6 #define CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
10 #include "base/hash_tables.h" 10 #include "base/hash_tables.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "chrome/browser/profiles/profile_keyed_service.h" 12 #include "chrome/browser/profiles/profile_keyed_service.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "net/url_request/url_fetcher_delegate.h" 14 #include "net/url_request/url_fetcher_delegate.h"
15 15
16 #include <vector>
17
16 namespace net { 18 namespace net {
17 class URLRequestContextGetter; 19 class URLRequestContextGetter;
18 } 20 }
19 21
20 class CWSIntentsRegistryForTest; 22 class CWSIntentsRegistryForTest;
21 23
22 // Handles storing and retrieving of web intents in the web database. 24 // Handles storing and retrieving of web intents in the web database.
23 // The registry provides filtering logic to retrieve specific types of intents. 25 // The registry provides filtering logic to retrieve specific types of intents.
24 class CWSIntentsRegistry : public ProfileKeyedService, 26 class CWSIntentsRegistry : public ProfileKeyedService,
25 public net::URLFetcherDelegate { 27 public net::URLFetcherDelegate {
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // Map for all in-flight web data requests/intent queries. 80 // Map for all in-flight web data requests/intent queries.
79 QueryMap queries_; 81 QueryMap queries_;
80 82
81 // Request context for any CWS requests. 83 // Request context for any CWS requests.
82 scoped_refptr<net::URLRequestContextGetter> request_context_; 84 scoped_refptr<net::URLRequestContextGetter> request_context_;
83 85
84 DISALLOW_COPY_AND_ASSIGN(CWSIntentsRegistry); 86 DISALLOW_COPY_AND_ASSIGN(CWSIntentsRegistry);
85 }; 87 };
86 88
87 #endif // CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_H_ 89 #endif // CHROME_BROWSER_INTENTS_CWS_INTENTS_REGISTRY_H_
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | chrome/browser/nacl_host/nacl_validation_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698