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

Side by Side Diff: chrome/browser/ui/webui/chromeos/nfc_debug_ui.cc

Issue 498773003: Use a qualified path for chromium_strings, google_chrome_strings, and generated_resources. (part 2 … (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 3 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/ui/webui/chromeos/nfc_debug_ui.h" 5 #include "chrome/browser/ui/webui/chromeos/nfc_debug_ui.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/values.h" 9 #include "base/values.h"
10 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
11 #include "chrome/common/url_constants.h" 11 #include "chrome/common/url_constants.h"
12 #include "chrome/grit/generated_resources.h"
12 #include "content/public/browser/web_ui.h" 13 #include "content/public/browser/web_ui.h"
13 #include "content/public/browser/web_ui_data_source.h" 14 #include "content/public/browser/web_ui_data_source.h"
14 #include "content/public/browser/web_ui_message_handler.h" 15 #include "content/public/browser/web_ui_message_handler.h"
15 #include "device/nfc/nfc_adapter.h" 16 #include "device/nfc/nfc_adapter.h"
16 #include "device/nfc/nfc_adapter_factory.h" 17 #include "device/nfc/nfc_adapter_factory.h"
17 #include "device/nfc/nfc_peer.h" 18 #include "device/nfc/nfc_peer.h"
18 #include "device/nfc/nfc_tag.h" 19 #include "device/nfc/nfc_tag.h"
19 #include "grit/browser_resources.h" 20 #include "grit/browser_resources.h"
20 #include "grit/generated_resources.h"
21 21
22 using device::NfcAdapter; 22 using device::NfcAdapter;
23 using device::NfcAdapterFactory; 23 using device::NfcAdapterFactory;
24 using device::NfcNdefMessage; 24 using device::NfcNdefMessage;
25 using device::NfcNdefRecord; 25 using device::NfcNdefRecord;
26 using device::NfcNdefTagTechnology; 26 using device::NfcNdefTagTechnology;
27 using device::NfcPeer; 27 using device::NfcPeer;
28 using device::NfcTag; 28 using device::NfcTag;
29 using device::NfcTagTechnology; 29 using device::NfcTagTechnology;
30 30
(...skipping 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 html_source->SetDefaultResource(IDR_NFC_DEBUG_HTML); 743 html_source->SetDefaultResource(IDR_NFC_DEBUG_HTML);
744 744
745 Profile* profile = Profile::FromWebUI(web_ui); 745 Profile* profile = Profile::FromWebUI(web_ui);
746 content::WebUIDataSource::Add(profile, html_source); 746 content::WebUIDataSource::Add(profile, html_source);
747 } 747 }
748 748
749 NfcDebugUI::~NfcDebugUI() { 749 NfcDebugUI::~NfcDebugUI() {
750 } 750 }
751 751
752 } // namespace chromeos 752 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/network_ui.cc ('k') | chrome/browser/ui/webui/chromeos/power_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698