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

Side by Side Diff: chrome/browser/extensions/api/dns/dns_api.cc

Issue 10272021: Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 8 years, 7 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
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 #include "chrome/browser/extensions/api/dns/dns_api.h" 5 #include "chrome/browser/extensions/api/dns/dns_api.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/values.h" 8 #include "base/values.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/io_thread.h" 10 #include "chrome/browser/io_thread.h"
11 #include "chrome/common/extensions/api/experimental.dns.h" 11 #include "chrome/common/extensions/api/experimental_dns.h"
12 #include "content/public/browser/browser_thread.h" 12 #include "content/public/browser/browser_thread.h"
13 #include "net/base/host_port_pair.h" 13 #include "net/base/host_port_pair.h"
14 #include "net/base/net_errors.h" 14 #include "net/base/net_errors.h"
15 15
16 using content::BrowserThread; 16 using content::BrowserThread;
17 using extensions::api::experimental_dns::ResolveCallbackResolveInfo; 17 using extensions::api::experimental_dns::ResolveCallbackResolveInfo;
18 18
19 namespace Resolve = extensions::api::experimental_dns::Resolve; 19 namespace Resolve = extensions::api::experimental_dns::Resolve;
20 20
21 namespace extensions { 21 namespace extensions {
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 bool post_task_result = BrowserThread::PostTask( 105 bool post_task_result = BrowserThread::PostTask(
106 BrowserThread::UI, FROM_HERE, 106 BrowserThread::UI, FROM_HERE,
107 base::Bind(&DnsResolveFunction::RespondOnUIThread, this)); 107 base::Bind(&DnsResolveFunction::RespondOnUIThread, this));
108 DCHECK(post_task_result); 108 DCHECK(post_task_result);
109 109
110 Release(); // Added in WorkOnIOThread(). 110 Release(); // Added in WorkOnIOThread().
111 } 111 }
112 112
113 } // namespace extensions 113 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/bluetooth/bluetooth_api.cc ('k') | chrome/browser/extensions/api/socket/socket_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698