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

Side by Side Diff: chrome/browser/chromeos/offline/offline_load_page.cc

Issue 448423002: Use a qualified path for grit includes in chrome/browser/chromeos. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build Created 6 years, 4 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/chromeos/offline/offline_load_page.h" 5 #include "chrome/browser/chromeos/offline/offline_load_page.h"
6 6
7 #include "apps/launcher.h" 7 #include "apps/launcher.h"
8 #include "ash/shell.h" 8 #include "ash/shell.h"
9 #include "ash/shell_delegate.h" 9 #include "ash/shell_delegate.h"
10 #include "ash/system/tray/system_tray_delegate.h" 10 #include "ash/system/tray/system_tray_delegate.h"
11 #include "base/i18n/rtl.h" 11 #include "base/i18n/rtl.h"
12 #include "base/metrics/histogram.h" 12 #include "base/metrics/histogram.h"
13 #include "base/prefs/pref_service.h" 13 #include "base/prefs/pref_service.h"
14 #include "base/strings/string_piece.h" 14 #include "base/strings/string_piece.h"
15 #include "base/strings/stringprintf.h" 15 #include "base/strings/stringprintf.h"
16 #include "base/strings/utf_string_conversions.h" 16 #include "base/strings/utf_string_conversions.h"
17 #include "base/values.h" 17 #include "base/values.h"
18 #include "chrome/browser/browser_process.h" 18 #include "chrome/browser/browser_process.h"
19 #include "chrome/browser/chrome_notification_types.h" 19 #include "chrome/browser/chrome_notification_types.h"
20 #include "chrome/browser/profiles/profile.h" 20 #include "chrome/browser/profiles/profile.h"
21 #include "chrome/browser/renderer_preferences_util.h" 21 #include "chrome/browser/renderer_preferences_util.h"
22 #include "chrome/browser/tab_contents/tab_util.h" 22 #include "chrome/browser/tab_contents/tab_util.h"
23 #include "chrome/common/extensions/extension_constants.h" 23 #include "chrome/common/extensions/extension_constants.h"
24 #include "chrome/common/localized_error.h" 24 #include "chrome/common/localized_error.h"
25 #include "chrome/common/pref_names.h" 25 #include "chrome/common/pref_names.h"
26 #include "chrome/common/url_constants.h" 26 #include "chrome/common/url_constants.h"
27 #include "chrome/grit/browser_resources.h"
28 #include "chrome/grit/chromium_strings.h"
29 #include "chrome/grit/generated_resources.h"
30 #include "chrome/grit/google_chrome_strings.h"
31 #include "chrome/grit/theme_resources.h"
27 #include "content/public/browser/browser_thread.h" 32 #include "content/public/browser/browser_thread.h"
28 #include "content/public/browser/interstitial_page.h" 33 #include "content/public/browser/interstitial_page.h"
29 #include "content/public/browser/notification_types.h" 34 #include "content/public/browser/notification_types.h"
30 #include "content/public/browser/web_contents.h" 35 #include "content/public/browser/web_contents.h"
31 #include "extensions/browser/extension_registry.h" 36 #include "extensions/browser/extension_registry.h"
32 #include "extensions/browser/extension_system.h" 37 #include "extensions/browser/extension_system.h"
33 #include "extensions/common/extension.h" 38 #include "extensions/common/extension.h"
34 #include "extensions/common/extension_icon_set.h" 39 #include "extensions/common/extension_icon_set.h"
35 #include "extensions/common/manifest_handlers/icons_handler.h" 40 #include "extensions/common/manifest_handlers/icons_handler.h"
36 #include "grit/browser_resources.h"
37 #include "grit/chromium_strings.h"
38 #include "grit/generated_resources.h"
39 #include "grit/google_chrome_strings.h"
40 #include "grit/theme_resources.h"
41 #include "net/base/escape.h" 41 #include "net/base/escape.h"
42 #include "net/base/net_errors.h" 42 #include "net/base/net_errors.h"
43 #include "ui/base/resource/resource_bundle.h" 43 #include "ui/base/resource/resource_bundle.h"
44 #include "ui/base/webui/jstemplate_builder.h" 44 #include "ui/base/webui/jstemplate_builder.h"
45 #include "ui/base/webui/web_ui_util.h" 45 #include "ui/base/webui/web_ui_util.h"
46 46
47 using content::BrowserThread; 47 using content::BrowserThread;
48 using content::InterstitialPage; 48 using content::InterstitialPage;
49 using content::WebContents; 49 using content::WebContents;
50 50
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 const bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE; 159 const bool online = type != net::NetworkChangeNotifier::CONNECTION_NONE;
160 DVLOG(1) << "ConnectionTypeObserver notification received: state=" 160 DVLOG(1) << "ConnectionTypeObserver notification received: state="
161 << (online ? "online" : "offline"); 161 << (online ? "online" : "offline");
162 if (online) { 162 if (online) {
163 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this); 163 net::NetworkChangeNotifier::RemoveConnectionTypeObserver(this);
164 interstitial_page_->Proceed(); 164 interstitial_page_->Proceed();
165 } 165 }
166 } 166 }
167 167
168 } // namespace chromeos 168 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/net/network_portal_notification_controller.cc ('k') | chrome/browser/chromeos/options/cert_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698