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

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

Issue 10348005: Revert 135077 - Files generated by the JSON schema compiler are named incorrectly (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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 | 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 #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 #include "net/base/net_util.h" 15 #include "net/base/net_util.h"
16 16
17 using content::BrowserThread; 17 using content::BrowserThread;
18 using extensions::api::experimental_dns::ResolveCallbackResolveInfo; 18 using extensions::api::experimental_dns::ResolveCallbackResolveInfo;
19 19
20 namespace Resolve = extensions::api::experimental_dns::Resolve; 20 namespace Resolve = extensions::api::experimental_dns::Resolve;
21 21
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 106
107 bool post_task_result = BrowserThread::PostTask( 107 bool post_task_result = BrowserThread::PostTask(
108 BrowserThread::UI, FROM_HERE, 108 BrowserThread::UI, FROM_HERE,
109 base::Bind(&DnsResolveFunction::RespondOnUIThread, this)); 109 base::Bind(&DnsResolveFunction::RespondOnUIThread, this));
110 DCHECK(post_task_result); 110 DCHECK(post_task_result);
111 111
112 Release(); // Added in WorkOnIOThread(). 112 Release(); // Added in WorkOnIOThread().
113 } 113 }
114 114
115 } // namespace extensions 115 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698